@codingame/monaco-editor-wrapper 5.3.2 → 5.4.0-full-workbench.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/Angular.ng-template-17.1.0.vsix/CHANGELOG.md +969 -0
- package/dist/assets/Angular.ng-template-17.1.0.vsix/README.md +69 -0
- package/dist/assets/Angular.ng-template-17.1.0.vsix/angular.png +0 -0
- package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/CHANGELOG.md +1 -0
- package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/README.md +89 -0
- package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/dart.png +0 -0
- package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/CHANGELOG.md +56 -0
- package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/README.md +320 -0
- package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/icon.png +0 -0
- package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/CHANGELOG.md +997 -0
- package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/README.md +219 -0
- package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/logo.png +0 -0
- package/dist/assets/JuanBlanco.solidity-0.0.165.vsix/README.md +416 -0
- package/dist/assets/JuanBlanco.solidity-0.0.165.vsix/icon.png +0 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/CHANGELOG.md +987 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/README.md +78 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/Rlogo.png +0 -0
- package/dist/assets/alefragnani.pascal-9.6.0.vsix/CHANGELOG.md +188 -0
- package/dist/assets/alefragnani.pascal-9.6.0.vsix/README.md +249 -0
- package/dist/assets/alefragnani.pascal-9.6.0.vsix/icon.png +0 -0
- package/dist/assets/batisteo.vscode-django-1.15.0.vsix/CHANGELOG.md +7 -0
- package/dist/assets/batisteo.vscode-django-1.15.0.vsix/README.md +99 -0
- package/dist/assets/batisteo.vscode-django-1.15.0.vsix/vscode-django-icon.png +0 -0
- package/dist/assets/bitwisecook.tcl-0.4.3.vsix/CHANGELOG.md +4 -0
- package/dist/assets/bitwisecook.tcl-0.4.3.vsix/README.md +19 -0
- package/dist/assets/bitwisecook.tcl-0.4.3.vsix/Tcl-powered.png +0 -0
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/CHANGELOG.md +469 -0
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/README.md +401 -0
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/logo.png +0 -0
- package/dist/assets/castwide.solargraph-0.24.1.vsix/CHANGELOG.md +256 -0
- package/dist/assets/castwide.solargraph-0.24.1.vsix/README.md +178 -0
- package/dist/assets/castwide.solargraph-0.24.1.vsix/solargraph.png +0 -0
- package/dist/assets/ckolkman.vscode-postgres-1.4.3.vsix/CHANGELOG.md +232 -0
- package/dist/assets/ckolkman.vscode-postgres-1.4.3.vsix/README.md +86 -0
- package/dist/assets/golang.Go-0.40.3.vsix/CHANGELOG.md +2934 -0
- package/dist/assets/golang.Go-0.40.3.vsix/README.md +217 -0
- package/dist/assets/golang.Go-0.40.3.vsix/go-logo-blue.png +0 -0
- package/dist/assets/johnsoncodehk.vscode-angular-1.0.22.vsix/README.md +44 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/CHANGELOG.md +357 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/README.md +68 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/logo.png +0 -0
- package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/CHANGELOG.md +43 -0
- package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/README.md +40 -0
- package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/icon.png +0 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/CHANGELOG.md +1697 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/README.md +87 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/csharpIcon.png +0 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/CHANGELOG.md +11139 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/README.md +105 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/icon.png +0 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/CHANGELOG.md +2180 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/LanguageCCPP_color_128x.png +0 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/README.md +78 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/CHANGELOG.md +510 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/README.md +539 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/logo.png +0 -0
- package/dist/assets/pgourlain.erlang-0.9.8.vsix/CHANGELOG.md +802 -0
- package/dist/assets/pgourlain.erlang-0.9.8.vsix/README.md +101 -0
- package/dist/assets/pgourlain.erlang-0.9.8.vsix/icon.png +0 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/CHANGELOG.md +1571 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/README.md +283 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/icon128.png +0 -0
- package/dist/assets/scala-lang.scala-0.5.7.vsix/CHANGELOG.md +276 -0
- package/dist/assets/scala-lang.scala-0.5.7.vsix/README.md +33 -0
- package/dist/assets/scala-lang.scala-0.5.7.vsix/smooth-spiral.png +0 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/README.md +600 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/logo.png +0 -0
- package/dist/assets/sumneko.lua-3.7.4.vsix/README.md +101 -0
- package/dist/assets/sumneko.lua-3.7.4.vsix/changelog.md +1965 -0
- package/dist/assets/sumneko.lua-3.7.4.vsix/logo.png +0 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/CHANGELOG.md +3 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/README.md +100 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/logo.png +0 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/CHANGELOG.md +543 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/README.md +81 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/dlogo-square.png +0 -0
- package/dist/extensions/Angular.ng-template-17.1.0.vsix.js +7 -1
- package/dist/extensions/Dart-Code.dart-code-3.81.20240117.vsix.js +7 -1
- package/dist/extensions/IMCTradingBV.svlangserver-0.4.1.vsix.js +7 -1
- package/dist/extensions/JakeBecker.elixir-ls-0.19.0.vsix.js +7 -1
- package/dist/extensions/JuanBlanco.solidity-0.0.165.vsix.js +5 -1
- package/dist/extensions/REditorSupport.r-2.8.2.vsix.js +7 -1
- package/dist/extensions/alefragnani.pascal-9.6.0.vsix.js +7 -1
- package/dist/extensions/batisteo.vscode-django-1.15.0.vsix.js +7 -1
- package/dist/extensions/bitwisecook.tcl-0.4.3.vsix.js +7 -1
- package/dist/extensions/broadcomMFD.cobol-language-support-2.1.0.vsix.js +7 -1
- package/dist/extensions/castwide.solargraph-0.24.1.vsix.js +7 -1
- package/dist/extensions/ckolkman.vscode-postgres-1.4.3.vsix.js +5 -1
- package/dist/extensions/golang.Go-0.40.3.vsix.js +7 -1
- package/dist/extensions/johnsoncodehk.vscode-angular-1.0.22.vsix.js +3 -1
- package/dist/extensions/justusadam.language-haskell-3.6.0.vsix.js +7 -1
- package/dist/extensions/mathiasfrohlich.Kotlin-1.7.1.vsix.js +7 -1
- package/dist/extensions/ms-dotnettools.csharp-2.16.24.vsix.js +7 -1
- package/dist/extensions/ms-python.python-2023.25.10221012.vsix.js +7 -1
- package/dist/extensions/ms-vscode.cpptools-1.19.2.vsix.js +7 -1
- package/dist/extensions/ocamllabs.ocaml-platform-1.16.1.vsix.js +7 -1
- package/dist/extensions/pgourlain.erlang-0.9.8.vsix.js +7 -1
- package/dist/extensions/redhat.java-1.27.2024012608.vsix.js +7 -1
- package/dist/extensions/scala-lang.scala-0.5.7.vsix.js +7 -1
- package/dist/extensions/scalameta.metals-1.27.3.vsix.js +5 -1
- package/dist/extensions/sumneko.lua-3.7.4.vsix.js +7 -1
- package/dist/extensions/svelte.svelte-vscode-108.2.1.vsix.js +7 -1
- package/dist/extensions/webfreak.code-d-0.23.2.vsix.js +7 -1
- package/dist/features/workbench.d.ts +5 -0
- package/dist/features/workbench.js +20 -0
- package/dist/services.js +3 -1
- package/package.json +81 -75
- package/stats.html +1 -1
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# VS Code Solargraph Extension
|
|
2
|
+
|
|
3
|
+
Solargraph is a language server that provides intellisense, code completion, and inline documentation for Ruby.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
* Context-aware suggestions and documentation for the Ruby core
|
|
10
|
+
* Detection of some variable types and method return values (e.g., `String.new.` returns String instance methods)
|
|
11
|
+
* Identification of local, class, and instance variables within the current scope
|
|
12
|
+
* Find references and rename symbols (experimental as of solargraph gem v0.22.0)
|
|
13
|
+
* Support for gems
|
|
14
|
+
* Near-complete support for the Ruby core and stdlib
|
|
15
|
+
* Partial support for Ruby on Rails
|
|
16
|
+
|
|
17
|
+
## Requirements
|
|
18
|
+
|
|
19
|
+
You need to install the Ruby gem:
|
|
20
|
+
|
|
21
|
+
gem install solargraph
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
### Code Completion
|
|
26
|
+
|
|
27
|
+
Open a Ruby file and start typing. Solargraph should start providing contextual code suggestions. To start a search manually, hit ctrl-space. Example:
|
|
28
|
+
|
|
29
|
+
Stri # <- Hitting ctrl-space here will suggest String
|
|
30
|
+
|
|
31
|
+
Method arguments and documentation can be seen by starting parentheses after the method call. Example:
|
|
32
|
+
|
|
33
|
+
String.new.casecmp( # <- Displays arguments and documentation for String#casecmp
|
|
34
|
+
|
|
35
|
+
### Documentation
|
|
36
|
+
|
|
37
|
+
Solargraph provides a command to access searchable documentation directly from the IDE.
|
|
38
|
+
|
|
39
|
+
* Hit ctrl+shift+r (or hit ctrl+shift+p and find `Search Ruby Documentation`).
|
|
40
|
+
* Enter a keyword or path to search; e.g., `String` or `Array#join`.
|
|
41
|
+
|
|
42
|
+
The documentation includes the Ruby core, required gems, and the current workspace. Documentation from the workspace is automatically updated when you save the corresponding file.
|
|
43
|
+
|
|
44
|
+
You can also hover over variables, constants, and method calls to see popup information with links to more documentation.
|
|
45
|
+
|
|
46
|
+
#### Documenting Your Code
|
|
47
|
+
|
|
48
|
+
Using [YARD](http://www.rubydoc.info/gems/yard/file/docs/GettingStarted.md) for inline documentation is highly recommended.
|
|
49
|
+
Solargraph will use YARD comments to provide the best code completion and API reference it can.
|
|
50
|
+
|
|
51
|
+
In addition to the standard YARD tags, Solargraph defines a `@type` tag for documenting variable types. It works with both
|
|
52
|
+
local and instance variables. Example:
|
|
53
|
+
|
|
54
|
+
# @type [String]
|
|
55
|
+
my_variable = some_method_call
|
|
56
|
+
my_variable. # <= Hitting crtl-space here will suggest String instance methods
|
|
57
|
+
|
|
58
|
+
### Intellisense
|
|
59
|
+
|
|
60
|
+
Solargraph also provides hovers and go to definition.
|
|
61
|
+
|
|
62
|
+
Hover your mouse over code to see method definitions, return values, and links to documentation.
|
|
63
|
+
|
|
64
|
+
To go to a method or variable's definition, right-click and select "Go to Definition" from the context menu, or press F12 for the definition at the cursor.
|
|
65
|
+
|
|
66
|
+
### Gem Support
|
|
67
|
+
|
|
68
|
+
Solargraph is capable of providing code completion and documentation for gems. When your code uses `require` to include a gem, its classes and methods become available in completion and intellisense.
|
|
69
|
+
|
|
70
|
+
You can make sure your gems are available with the commands `Build new gem documentation` or `Rebuild all gem documentation` in the command palette.
|
|
71
|
+
|
|
72
|
+
### Solargraph and Bundler
|
|
73
|
+
|
|
74
|
+
If your project uses Bundler, the most comprehensive way to use your bundled gems is to bundle Solargraph.
|
|
75
|
+
|
|
76
|
+
In the Gemfile:
|
|
77
|
+
|
|
78
|
+
gem 'solargraph', group: :development
|
|
79
|
+
|
|
80
|
+
Run `bundle install` and use `bundle exec yard gems` to generate the documentation. This process documents cached or vendored gems, or even gems that are installed from a local path.
|
|
81
|
+
|
|
82
|
+
In order to access intellisense for bundled gems, you'll need to start the language server with Bundler by setting the `solargraph.useBundler` option to `true`.
|
|
83
|
+
|
|
84
|
+
> Note: solargraph.bundlerPath should be an absolute path to bundler executable.
|
|
85
|
+
|
|
86
|
+
### Diagnostics (Linting)
|
|
87
|
+
|
|
88
|
+
To enable diagnostics, set the `solargraph.diagnostics` configuration to `true`.
|
|
89
|
+
|
|
90
|
+
Solargraph uses RuboCop for diagnostics by default. If your project has a .solargraph.yml file, you can configure the diagnostics in its `reporters` section. Example:
|
|
91
|
+
|
|
92
|
+
reporters:
|
|
93
|
+
- rubocop
|
|
94
|
+
|
|
95
|
+
See [the configuration guide](https://solargraph.org/guides/configuration) for more information about the .solargraph.yml file.
|
|
96
|
+
|
|
97
|
+
Use a .rubocop.yml file in your project's root folder to customize the linting rules.
|
|
98
|
+
|
|
99
|
+
### Restarting Solargraph
|
|
100
|
+
|
|
101
|
+
Some changes you make to a project, such as updating the Gemfile, might require you to restart the Solargraph server.
|
|
102
|
+
Instead of reloading the VS Code window, you can run Restart Solargraph from the Command Palette.
|
|
103
|
+
|
|
104
|
+
### Project Configuration
|
|
105
|
+
|
|
106
|
+
Solargraph will use the .solargraph.yml file for configuration if it exists in the workspace root. The extension provides
|
|
107
|
+
a command to `Create a Solargraph config file`, or you can do it from the command line:
|
|
108
|
+
|
|
109
|
+
$ solargraph config .
|
|
110
|
+
|
|
111
|
+
The default file should look something like this:
|
|
112
|
+
|
|
113
|
+
include:
|
|
114
|
+
- ./**/*.rb
|
|
115
|
+
exclude:
|
|
116
|
+
- spec/**/*
|
|
117
|
+
|
|
118
|
+
This configuration tells Solargraph to parse all .rb files in the workspace excluding the spec folder.
|
|
119
|
+
|
|
120
|
+
## Updating the Core Documentation
|
|
121
|
+
|
|
122
|
+
The Solargraph gem ships with documentation for Ruby 2.2.2. As of gem version 0.15.0, there's an option to download additional documentation for other Ruby versions from the command line.
|
|
123
|
+
|
|
124
|
+
$ solargraph list-cores # List the installed documentation versions
|
|
125
|
+
$ solargraph available-cores # List the versions available for download
|
|
126
|
+
$ solargraph download-core # Install the best match for your Ruby version
|
|
127
|
+
$ solargraph clear-cores # Clear the documentation cache
|
|
128
|
+
|
|
129
|
+
## Extension Settings
|
|
130
|
+
|
|
131
|
+
This extension contributes the following settings:
|
|
132
|
+
|
|
133
|
+
* `solargraph.commandPath`: Path to the solargraph command. Set this to an absolute path to select from multiple installed Ruby versions.
|
|
134
|
+
* `solargraph.useBundler`: Use `bundle exec` to run solargraph. (If this is true, `solargraph.commandPath` is ignored.)
|
|
135
|
+
* `solargraph.bundlerPath`: Path to the bundle command.
|
|
136
|
+
* `solargraph.checkGemVersion`: Check if a new version of the Solargraph gem is available. Default is true (recommended).
|
|
137
|
+
* `solargraph.diagnostics`: Enable diagnostics reporting. See [the configuration guide](https://solargraph.org/guides/configuration) for diagnostics options.
|
|
138
|
+
* `solargraph.completion`: Enable autocompletion.
|
|
139
|
+
* `solargraph.hover`: Enable tips on hover.
|
|
140
|
+
* `solargraph.autoformat`: Enable automatic formatting while typing.
|
|
141
|
+
* `solargraph.formatting`: Enable document formatting. The gem currently uses RuboCop for formatting.
|
|
142
|
+
* `solargraph.symbols`: Enable search for document and workspace symbols.
|
|
143
|
+
* `solargraph.definitions`: Enable go-to-definition.
|
|
144
|
+
* `solargraph.rename`: Enable symbol renaming.
|
|
145
|
+
* `solargraph.references`: Enable finding references.
|
|
146
|
+
* `solargraph.folding`: Enable folding ranges.
|
|
147
|
+
* `solargraph.transport`: socket (default), stdio, or external. See [Transport Options](#transport-options) for more information.
|
|
148
|
+
* `solargraph.externalServer`: The host and port for external transports. See [Transport Options](#transport-options) for more information.
|
|
149
|
+
* `solargraph.logLevel`: The logging level. Options in ascending amount of detail are `warn`, `info`, and `debug`. The default is `warn`.
|
|
150
|
+
|
|
151
|
+
## Transport Options
|
|
152
|
+
|
|
153
|
+
Extension version 0.18.0 introduces the `solargraph.transport` setting with the following options:
|
|
154
|
+
|
|
155
|
+
* `socket`: Run a TCP server. This is the default option.
|
|
156
|
+
* `stdio`: Run a STDIO server.
|
|
157
|
+
* `external`: Connect to an external server instead of starting a new one.
|
|
158
|
+
|
|
159
|
+
Most users should use the default `socket` option or switch to `stdio` in case of network issues.
|
|
160
|
+
|
|
161
|
+
The `external` option is intended for cases where the project is hosted in a different environment from the editor,
|
|
162
|
+
such as a docker container or a remote server. Users can opt to run a socket server in the remote environment and connect
|
|
163
|
+
to it via TCP. Example configuration:
|
|
164
|
+
|
|
165
|
+
"solargraph.transport": "external",
|
|
166
|
+
"solargraph.externalServer": {
|
|
167
|
+
"host": "localhost",
|
|
168
|
+
"port": 7658
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
## More Information
|
|
172
|
+
|
|
173
|
+
See the [Solargraph website](https://solargraph.org) for guides, tips, and updates.
|
|
174
|
+
|
|
175
|
+
## Known Issues
|
|
176
|
+
|
|
177
|
+
* Partial support for Rails (see [https://solargraph.org/guides/rails](https://solargraph.org/guides/rails))
|
|
178
|
+
* Documentation pages need better design/layout
|
|
Binary file
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
All notable changes to the "vscode-postgres" extension will be documented in this file.
|
|
3
|
+
|
|
4
|
+
## [Unreleased]
|
|
5
|
+
- Turn off parsing of pg types `date`, `timestamp`, and `timestamptz` for more consistent formatting. Should fix [#223](https://github.com/Borvik/vscode-postgres/issues/223) and [#219](https://github.com/Borvik/vscode-postgres/issues/219).
|
|
6
|
+
- Removes keytar to SecretStorage API migration code and remove references to keytar. Fixes: [#230](https://github.com/Borvik/vscode-postgres/issues/230).
|
|
7
|
+
|
|
8
|
+
## [1.4.2] - 2023-04-14
|
|
9
|
+
- Fix for JSON export formatting. Fixes issue [#220](https://github.com/Borvik/vscode-postgres/issues/220)
|
|
10
|
+
|
|
11
|
+
## [1.4.1] - 2023-04-08
|
|
12
|
+
- Make intellisense ignore tables that have 0 columns - thanks @polmonso.
|
|
13
|
+
- Fixed csv exporting of timestamps. Fixes issue [#114](https://github.com/Borvik/vscode-postgres/issues/114).
|
|
14
|
+
- Added hex formatting for `bytea` columns - thanks @jragingfury.
|
|
15
|
+
|
|
16
|
+
## [1.4.0] - 2022-01-19
|
|
17
|
+
- Keytar migration tool. Previously, keytar was used manually via `${vscode.env.appRoot}/node_modules` - this is a switch to using the secrets api, but needed a migration to do so.
|
|
18
|
+
|
|
19
|
+
## [1.3.0] - 2022-01-03 (prerelease)
|
|
20
|
+
- Switch to pre-release/release version numbers `major.EVEN.patch` for release and `major.ODD.patch` for pre-release
|
|
21
|
+
- Keytar migration tool. Previously, keytar was used manually via `${vscode.env.appRoot}/node_modules` - this is a switch to using the secrets api, but needed a migration to do so.
|
|
22
|
+
|
|
23
|
+
## [1.1.19] - 2021-10-16
|
|
24
|
+
### Added
|
|
25
|
+
- Query timer and running message by Jakub Szostak
|
|
26
|
+
|
|
27
|
+
### Updated
|
|
28
|
+
- Updated webview URL creation for local files
|
|
29
|
+
|
|
30
|
+
## [1.1.18] - 2021-06-12
|
|
31
|
+
### Fixed
|
|
32
|
+
- Webview results not displaying
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
- Sticky table headers
|
|
36
|
+
|
|
37
|
+
## [1.1.17] - 2021-01-18
|
|
38
|
+
### Fixed
|
|
39
|
+
- Saving results to CSV, JSON, or XML when results have multiple columns with the same name - some columns were getting dropped (issue [#164](https://github.com/Borvik/vscode-postgres/issues/164))
|
|
40
|
+
Now all columns _should_ be output. For the case of JSON or XML, repeated names have an increment suffix to the name. For CSV columns are positional
|
|
41
|
+
and it uses the same name.
|
|
42
|
+
|
|
43
|
+
## [1.1.16] - 2021-01-18
|
|
44
|
+
### Added
|
|
45
|
+
- Foreign table support
|
|
46
|
+
- Ability to copy schema, table, column, and function names to the clipboard
|
|
47
|
+
|
|
48
|
+
### Changed
|
|
49
|
+
- Select [x] right click options - moved to submenu with extra options
|
|
50
|
+
|
|
51
|
+
## [1.1.15] - 2021-01-14
|
|
52
|
+
### Fixed
|
|
53
|
+
- Updated queries for breaking `has_schema_privilege` calls (issues [#161](https://github.com/Borvik/vscode-postgres/issues/161), [#129](https://github.com/Borvik/vscode-postgres/issues/129))
|
|
54
|
+
- Query updates to allow for materialized views to show (issue [#112](https://github.com/Borvik/vscode-postgres/issues/112))
|
|
55
|
+
|
|
56
|
+
## [1.1.14] - 2020-10-24
|
|
57
|
+
### Fixed
|
|
58
|
+
- Update `pg` caused SSL mode to break for self-signed certs (issue [#154](https://github.com/Borvik/vscode-postgres/issues/154)), added `rejectUnauthorized: false`
|
|
59
|
+
|
|
60
|
+
## [1.1.13] - 2020-10-17
|
|
61
|
+
### Fixed
|
|
62
|
+
- Emergency update of dependencies
|
|
63
|
+
|
|
64
|
+
## [1.1.12] - 2020-10-17
|
|
65
|
+
### Fixed
|
|
66
|
+
- `[DEP0005] DeprecationWarning: Buffer()` (issue [#147](https://github.com/Borvik/vscode-postgres/issues/147)) - thanks in large part to @alisabzevari
|
|
67
|
+
|
|
68
|
+
## [1.1.11] - 2019-08-10
|
|
69
|
+
### Fixed
|
|
70
|
+
- Sidebar icon has been updated and should now size correctly for vscode 1.37.0.
|
|
71
|
+
|
|
72
|
+
## [1.1.10] - 2019-04-12
|
|
73
|
+
### Fixed
|
|
74
|
+
- Add DB connection process now handles more issues with connecting to a possibly secured `postgres` database (issue [#97](https://github.com/Borvik/vscode-postgres/issues/97)).
|
|
75
|
+
|
|
76
|
+
## [1.1.9] - 2019-03-17
|
|
77
|
+
### Changed
|
|
78
|
+
- Add DB connection process has been altered to be more user friendly. Also fixes ssl cert issues (issue [#66](https://github.com/Borvik/vscode-postgres/issues/66)).
|
|
79
|
+
|
|
80
|
+
## [1.1.8] - 2019-03-08
|
|
81
|
+
### Fixed
|
|
82
|
+
- PG 11 Version issues for language server (issue [#92](https://github.com/Borvik/vscode-postgres/issues/92)).
|
|
83
|
+
|
|
84
|
+
## [1.1.7] - 2019-03-05
|
|
85
|
+
### Fixed
|
|
86
|
+
- Delete results now properly show RETURNING data (issue [#91](https://github.com/Borvik/vscode-postgres/issues/91)).
|
|
87
|
+
|
|
88
|
+
## [1.1.6] - 2018-11-26
|
|
89
|
+
### Fixed
|
|
90
|
+
- Syntax highlighting when first character of query is a space (issue [#79](https://github.com/Borvik/vscode-postgres/issues/79)) by @votagus.
|
|
91
|
+
|
|
92
|
+
## [1.1.5] - 2018-11-26
|
|
93
|
+
### Added
|
|
94
|
+
- Capability to better separate main queries by pg version
|
|
95
|
+
- Support for default connections using settings which can be overridden at the project level (issue [#69](https://github.com/Borvik/vscode-postgres/issues/69))
|
|
96
|
+
- To better support default connections, the extension now activates on start vs. when a view/language/command is accessed for the first time.
|
|
97
|
+
|
|
98
|
+
### Fixed
|
|
99
|
+
- Support of PG 11 in function explorer (issue [#72](https://github.com/Borvik/vscode-postgres/issues/72))
|
|
100
|
+
|
|
101
|
+
## [1.1.4] - 2018-10-29
|
|
102
|
+
### Added
|
|
103
|
+
- `Functions` virtual folder (must enable in configuration) by @lafriks
|
|
104
|
+
- Added schemas to autocompletion by @lafriks
|
|
105
|
+
|
|
106
|
+
### Fixed
|
|
107
|
+
- Better hiding of `pg_temp` and `pg_toast` tables by @lafriks
|
|
108
|
+
|
|
109
|
+
## [1.1.3] - 2018-10-06
|
|
110
|
+
### Added
|
|
111
|
+
- Better support for blank passwords - doesn't touch Keytar (thanks to @SWW13)
|
|
112
|
+
|
|
113
|
+
### Fixed
|
|
114
|
+
- Performance opening table to show columns degraded when the column query when support was added for v9.3. Version detection was put in to allow a better performing query to work on 9.4+.
|
|
115
|
+
|
|
116
|
+
## [1.1.2] - 2018-09-24
|
|
117
|
+
### Added
|
|
118
|
+
- Support for PostgreSQL 9.3
|
|
119
|
+
|
|
120
|
+
## [1.1.1] - 2018-09-10
|
|
121
|
+
### Fixed
|
|
122
|
+
- `prettyPrintJSONfields` setting should work again
|
|
123
|
+
|
|
124
|
+
## [1.1.0] - 2018-09-03
|
|
125
|
+
### Updated
|
|
126
|
+
- Transitioned result pane from using TextDocumentContentProvider to using Webviews.
|
|
127
|
+
|
|
128
|
+
### Fixed
|
|
129
|
+
- Serialize results to JSON and XML should work properly again (broke with fix in 1.0.15).
|
|
130
|
+
|
|
131
|
+
### Added
|
|
132
|
+
- Support for `circle` and `point` geometric types.
|
|
133
|
+
- All query results now use the result pane.
|
|
134
|
+
|
|
135
|
+
## [1.0.16] - 2018-08-18
|
|
136
|
+
### Fixed
|
|
137
|
+
- Explain statements should now work again (broke with fix in 1.0.15)
|
|
138
|
+
|
|
139
|
+
### Added
|
|
140
|
+
- Icon for foreign keys in the database explorer.
|
|
141
|
+
- Display formatted type names in results grid headers by @lnicola
|
|
142
|
+
|
|
143
|
+
## [1.0.15] - 2018-08-16
|
|
144
|
+
### Fixed
|
|
145
|
+
- Display of results when running queries with multiple columns of the same name.
|
|
146
|
+
|
|
147
|
+
## [1.0.14] - 2018-08-10
|
|
148
|
+
### Fixed
|
|
149
|
+
- Display of `interval` data formats
|
|
150
|
+
- Changed using namespace name to oid for issue [#33](https://github.com/Borvik/vscode-postgres/issues/33)
|
|
151
|
+
|
|
152
|
+
## [1.0.13] - 2018-07-18
|
|
153
|
+
### Added
|
|
154
|
+
- Support for optionally providing a database when creating a connection (ends up with a single-database connection in the db explorer).
|
|
155
|
+
- Added configuration setting to control the sort order of table columns: database order, alphabetical, and reverse alpha.
|
|
156
|
+
|
|
157
|
+
## [1.0.12] - 2018-07-14
|
|
158
|
+
### Fixed
|
|
159
|
+
- Quoted schemas/tables in priviledge queries.
|
|
160
|
+
|
|
161
|
+
### Added
|
|
162
|
+
- Support for editing connection details.
|
|
163
|
+
|
|
164
|
+
## [1.0.11] - 2018-07-06
|
|
165
|
+
### Fixed
|
|
166
|
+
- Preserve query focus code was spawning a new query editor.
|
|
167
|
+
|
|
168
|
+
## [1.0.10] - 2018-07-06
|
|
169
|
+
### Fixed
|
|
170
|
+
- Windows bug causing "cannot read property of null" errors - solved simultaneously with @Yarith
|
|
171
|
+
|
|
172
|
+
## [1.0.9] - 2018-05-30
|
|
173
|
+
### Fixed
|
|
174
|
+
- Info/Error node - if an error occurred when expanding a node in the database explorer there wasn't an indication of what went wrong
|
|
175
|
+
|
|
176
|
+
### Added
|
|
177
|
+
- Support for PostgreSQL user permissions. Databases, schemas, tables, views should all be filtered based on the user used when setting up the connection.
|
|
178
|
+
- Support for quoted identifiers
|
|
179
|
+
|
|
180
|
+
## [1.0.8] - 2018-05-23
|
|
181
|
+
### Added
|
|
182
|
+
- Option to disable changing active connection when navigating the explorer by @mterring
|
|
183
|
+
|
|
184
|
+
## [1.0.7] - 2018-05-16
|
|
185
|
+
### Added
|
|
186
|
+
- Schema support to table nodes and capitalized table names by @jgoday
|
|
187
|
+
|
|
188
|
+
## [1.0.6] - 2018-05-12
|
|
189
|
+
### Fixed
|
|
190
|
+
- Code Completion: grouped fields of the same data type together and show all the tables/views they belong to in a list
|
|
191
|
+
|
|
192
|
+
## [1.0.5] - 2018-05-11
|
|
193
|
+
### Fixed
|
|
194
|
+
- Status bar text when connection is not labelled
|
|
195
|
+
|
|
196
|
+
## [1.0.4] - 2018-05-11
|
|
197
|
+
### Added
|
|
198
|
+
- Display label for postgres connections by @peterbam
|
|
199
|
+
- Rename command for display label
|
|
200
|
+
|
|
201
|
+
## [1.0.3] - 2018-05-10
|
|
202
|
+
### Added
|
|
203
|
+
- Show "Run Query" command errors using notifications
|
|
204
|
+
|
|
205
|
+
## [1.0.2] - 2018-05-09
|
|
206
|
+
### Added
|
|
207
|
+
- Support for DB Views in the database explorer and code completion
|
|
208
|
+
|
|
209
|
+
## [1.0.1] - 2018-05-07
|
|
210
|
+
### Added
|
|
211
|
+
- Support for custom activity bar
|
|
212
|
+
|
|
213
|
+
## [1.0.0] - 2018-05-05
|
|
214
|
+
### Fixed
|
|
215
|
+
- Connection button, now properly asks for the connection instead of the database.
|
|
216
|
+
|
|
217
|
+
### Added
|
|
218
|
+
- Syntax highlighting
|
|
219
|
+
- Connection aware code completion (keywords, functions, tables, and fields)
|
|
220
|
+
- In-line error detection powered by EXPLAIN (one error per query in editor)
|
|
221
|
+
- *__Basic__* function signature support (connection aware)
|
|
222
|
+
|
|
223
|
+
## [0.0.6] - 2018-04-30
|
|
224
|
+
### Fixed
|
|
225
|
+
- Repository link
|
|
226
|
+
- Output Console Name for Language Service
|
|
227
|
+
|
|
228
|
+
### Added
|
|
229
|
+
- Ability to save results to JSON, XML, or CSV.
|
|
230
|
+
|
|
231
|
+
## [0.0.5] - 2018-04-30
|
|
232
|
+
- Initial release
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# PostgreSQL
|
|
2
|
+
|
|
3
|
+
This is a query tool for PostgreSQL databases. While there is a database explorer it is _NOT_ meant for creating/dropping databases or tables. The explorer is a visual aid for helping to craft your queries.
|
|
4
|
+
|
|
5
|
+
There is a language service that should keep at most a single connection open to the database (assuming one was selected). This facilitates query diagnostics, code completion, and function signatures. All code completion keywords, functions, tables, and field names are pulled from the current connection to try to keep everything relevant.
|
|
6
|
+
|
|
7
|
+
It is possible there are some queries that won't run and report problems - even if they are completely valid (`DROP DATABASE` comes to mind).
|
|
8
|
+
|
|
9
|
+
> *__Note__: PostgreSQL versions before 9.4 are not supported.*
|
|
10
|
+
|
|
11
|
+
> *__Note__: AWS RedShift is _also_ not supported - there are information schema queries needed that just won't work there*
|
|
12
|
+
|
|
13
|
+
## Features
|
|
14
|
+
|
|
15
|
+
* Management of PostgreSQL connections
|
|
16
|
+
* List Servers/Database/Functions/Tables/Columns (primary key/type)
|
|
17
|
+
* Quickly select top * (with limit) of a table
|
|
18
|
+
* Run Queries
|
|
19
|
+
* All queries in a pgsql file (; delimited)
|
|
20
|
+
* Selected query in pgsql file
|
|
21
|
+
* Selected query in ANY file (via context menu or command palette)
|
|
22
|
+
* Individual editors can have different connections
|
|
23
|
+
* Quickly change connection database by clicking the DB in the status bar
|
|
24
|
+
* Syntax Highlighting
|
|
25
|
+
* Connection aware code completion (keywords, functions, tables, and fields)
|
|
26
|
+
* In-line error detection powered by EXPLAIN (one error per query in editor)
|
|
27
|
+
* *__Basic__* function signature support (connection aware)
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
### Managing Connections
|
|
32
|
+
|
|
33
|
+
You can add a PostgreSQL connection in the explorer or via the command palette command "PostgreSQL: Add Connection"
|
|
34
|
+
|
|
35
|
+

|
|
36
|
+
|
|
37
|
+
You can remove connections from the connection context menu or the command palette command "PostgreSQL: Delete Connection".
|
|
38
|
+
|
|
39
|
+

|
|
40
|
+
|
|
41
|
+
Each item in the explorer has it's own context menu, and you can start a new query from _any_ level (or the command palette "PostgreSQL: New Query").
|
|
42
|
+
|
|
43
|
+
The "Refresh Items" option reloads the sub-nodes for that item, useful if there were structural changes to the database and you want the explorer to reflect them.
|
|
44
|
+
|
|
45
|
+
Tables have the extra option to "Select Top 1000" or "Select Top...". They both open a new query with a "SELECT *" query started and run it. The latter option will prompt you for the quantity first.
|
|
46
|
+
|
|
47
|
+
### Running Queries
|
|
48
|
+
|
|
49
|
+
Each editor window can have a different database and/or connection used for its queries. All windows start with no connection selected.
|
|
50
|
+
|
|
51
|
+

|
|
52
|
+
|
|
53
|
+
Clicking on the server ("localhost" above) or the database name will allow you to quickly change the database. You can also initiate the change from the command palette.
|
|
54
|
+
|
|
55
|
+
Windows with their language set to Postgres will get syntax highlighting, and when there is connection selected: code completion, signature information, and diagnostics.
|
|
56
|
+
|
|
57
|
+
In Postgres language files you can run a query via F5, context menu, or command palette. You can also run a query from any other file type as long as a connection is selected and you have the query selected - __*F5 will not work for other file types*__.
|
|
58
|
+
|
|
59
|
+

|
|
60
|
+
|
|
61
|
+
Running queries in Postgres language files first check if anything is selected. If there is a selection, that is run as the query, otherwise all the queries in the editor are run.
|
|
62
|
+
|
|
63
|
+
Multiple queries are supported. If there is output from more than one query, multiple tables are shown in the results window.
|
|
64
|
+
|
|
65
|
+
### Serializing Query Results
|
|
66
|
+
|
|
67
|
+
You can serialize your query results as well.
|
|
68
|
+
|
|
69
|
+

|
|
70
|
+
|
|
71
|
+
If you have more than one table of results, you will be prompted for the table you wish to serialize.
|
|
72
|
+
|
|
73
|
+
You can choose from three formats: json, xml, and csv. The results will be converted to the appropriate format and opened in a new editor of the selected type.
|
|
74
|
+
|
|
75
|
+
## Extension Settings
|
|
76
|
+
|
|
77
|
+
This extension contributes the following settings:
|
|
78
|
+
|
|
79
|
+
* `vscode-postgres.showExplorer`: enable/disable the database explorer.
|
|
80
|
+
* `vscode-postgres.prettyPrintJSONfields`: set to `true` to enable nicely formatted JSON in the query results window.
|
|
81
|
+
* `vscode-postgres.setConnectionFromExplorer`: set to `ifunset` to only set the query connection if not already set.
|
|
82
|
+
* `vscode-postgres.tableColumnSortOrder`: set to `db-order` to sort columns like the database does, `alpha` to sort alphabetically, and `reverse-alpha` for descending alphabetically.
|
|
83
|
+
* `vscode-postgres.intervalFormat`: set to `iso_8601` to format intervals according to the ISO 8601 standard, `humanize` to format as easy to read text, and `succinct` to format like a countdown clock.
|
|
84
|
+
* `vscode-postgres.virtualFolders`: set to array of virtual folders to be displayed under schema. Supported values for virtual folders are `functions`. Set to `null` or empty array `[]` to disable virtual folders.
|
|
85
|
+
* `vscode-postgres.defaultConnection`: set the default connection (by name) that should be used for any file.
|
|
86
|
+
* `vscode-postgres.defaultDatabase`: set the default database on the default connection that should be used for any file (must exist on server).
|