@codingame/monaco-editor-wrapper 5.3.1 → 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 +8 -2
- package/dist/extensions/Dart-Code.dart-code-3.81.20240117.vsix.js +8 -4
- package/dist/extensions/IMCTradingBV.svlangserver-0.4.1.vsix.js +8 -2
- package/dist/extensions/JakeBecker.elixir-ls-0.19.0.vsix.js +8 -2
- package/dist/extensions/JuanBlanco.solidity-0.0.165.vsix.js +6 -2
- package/dist/extensions/REditorSupport.r-2.8.2.vsix.js +8 -4
- package/dist/extensions/alefragnani.pascal-9.6.0.vsix.js +8 -2
- package/dist/extensions/batisteo.vscode-django-1.15.0.vsix.js +8 -2
- package/dist/extensions/bitwisecook.tcl-0.4.3.vsix.js +8 -2
- package/dist/extensions/broadcomMFD.cobol-language-support-2.1.0.vsix.js +8 -2
- package/dist/extensions/castwide.solargraph-0.24.1.vsix.js +8 -2
- package/dist/extensions/ckolkman.vscode-postgres-1.4.3.vsix.js +6 -4
- package/dist/extensions/golang.Go-0.40.3.vsix.js +8 -2
- package/dist/extensions/johnsoncodehk.vscode-angular-1.0.22.vsix.js +4 -2
- package/dist/extensions/justusadam.language-haskell-3.6.0.vsix.js +8 -2
- package/dist/extensions/mathiasfrohlich.Kotlin-1.7.1.vsix.js +8 -2
- package/dist/extensions/ms-dotnettools.csharp-2.16.24.vsix.js +8 -2
- package/dist/extensions/ms-python.python-2023.25.10221012.vsix.js +8 -2
- package/dist/extensions/ms-vscode.cpptools-1.19.2.vsix.js +8 -2
- package/dist/extensions/ocamllabs.ocaml-platform-1.16.1.vsix.js +8 -4
- package/dist/extensions/pgourlain.erlang-0.9.8.vsix.js +8 -2
- package/dist/extensions/redhat.java-1.27.2024012608.vsix.js +8 -2
- package/dist/extensions/scala-lang.scala-0.5.7.vsix.js +8 -2
- package/dist/extensions/scalameta.metals-1.27.3.vsix.js +6 -4
- package/dist/extensions/sumneko.lua-3.7.4.vsix.js +8 -2
- package/dist/extensions/svelte.svelte-vscode-108.2.1.vsix.js +8 -2
- package/dist/extensions/webfreak.code-d-0.23.2.vsix.js +8 -2
- package/dist/features/workbench.d.ts +5 -0
- package/dist/features/workbench.js +20 -0
- package/dist/services.js +3 -1
- package/dist/tools.js +10 -26
- package/package.json +81 -75
- package/stats.html +1 -1
- package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/flutter_activity_bar.svg +0 -14
- package/dist/assets/REditorSupport.r-2.8.2.vsix/Rlogo.svg +0 -14
- package/dist/assets/ckolkman.vscode-postgres-1.4.3.vsix/postgres-explorer.svg +0 -100
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/logo.svg +0 -3
- package/dist/assets/scalameta.metals-1.27.3.vsix/scalameta.svg +0 -11
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
# Go for Visual Studio Code
|
|
2
|
+
|
|
3
|
+
[](https://gophers.slack.com/messages/vscode/)
|
|
4
|
+
|
|
5
|
+
<!--TODO: We should add a badge for the build status or link to the build dashboard.-->
|
|
6
|
+
|
|
7
|
+
[The VS Code Go extension](https://marketplace.visualstudio.com/items?itemName=golang.go)
|
|
8
|
+
provides rich language support for the
|
|
9
|
+
[Go programming language](https://go.dev/).
|
|
10
|
+
|
|
11
|
+
## Requirements
|
|
12
|
+
|
|
13
|
+
* Visual Studio Code 1.75 or newer (or editors compatible with VS Code 1.75+ APIs)
|
|
14
|
+
* Go 1.18 or newer
|
|
15
|
+
|
|
16
|
+
## Quick Start
|
|
17
|
+
|
|
18
|
+
Welcome! 👋🏻<br/>
|
|
19
|
+
Whether you are new to Go or an experienced Go developer, we hope this
|
|
20
|
+
extension fits your needs and enhances your development experience.
|
|
21
|
+
|
|
22
|
+
1. Install [Go](https://go.dev) 1.18 or newer if you haven't already.
|
|
23
|
+
|
|
24
|
+
1. Install the [VS Code Go extension].
|
|
25
|
+
|
|
26
|
+
1. Open any directory or workspace containing Go code to automatically activate
|
|
27
|
+
the extension. The
|
|
28
|
+
[Go status bar](https://github.com/golang/vscode-go/wiki/ui) appears in the
|
|
29
|
+
bottom left corner of the window and displays your Go version.
|
|
30
|
+
|
|
31
|
+
1. The extension depends on `go`, `gopls`, `dlv` and other optional tools. If
|
|
32
|
+
any of the dependencies are missing, the ⚠️ `Analysis Tools Missing` warning
|
|
33
|
+
is displayed. Click on the warning to download dependencies.
|
|
34
|
+
|
|
35
|
+
See the
|
|
36
|
+
[tools documentation](https://github.com/golang/vscode-go/wiki/tools) for a
|
|
37
|
+
complete list of tools the extension depends on.
|
|
38
|
+
|
|
39
|
+
<p align="center">
|
|
40
|
+
<img src="https://github.com/golang/vscode-go/raw/v0.40.3/docs/images/installtools.gif" width=75%>
|
|
41
|
+
<br/>
|
|
42
|
+
<em>(Install Missing Tools)</em>
|
|
43
|
+
</p>
|
|
44
|
+
|
|
45
|
+
You are ready to Go :-) 🎉🎉🎉
|
|
46
|
+
|
|
47
|
+
## What's next
|
|
48
|
+
|
|
49
|
+
* Explore more [features][full feature breakdown] of the VS Code Go extension.
|
|
50
|
+
* View the
|
|
51
|
+
[settings documentation](https://github.com/golang/vscode-go/wiki/settings)
|
|
52
|
+
and [advanced topics](https://github.com/golang/vscode-go/wiki/advanced) to
|
|
53
|
+
customize the extension.
|
|
54
|
+
* View the [tools documentation](https://github.com/golang/vscode-go/wiki/tools)
|
|
55
|
+
for a complete list of tools the VS Code Go extension depends on.
|
|
56
|
+
* Solve issues with the
|
|
57
|
+
[general troubleshooting](https://github.com/golang/vscode-go/wiki/troubleshooting)
|
|
58
|
+
and [debugging troubleshooting](https://github.com/golang/vscode-go/wiki/debugging#troubleshooting)
|
|
59
|
+
guides.
|
|
60
|
+
* [file an issue](https://github.com/golang/vscode-go/issues/new/choose) for
|
|
61
|
+
problems with the extension.
|
|
62
|
+
* Start a [GitHub discussion](https://github.com/golang/vscode-go/discussions)
|
|
63
|
+
or get help on [Stack Overflow].
|
|
64
|
+
* Explore Go language resources on [go.dev/learn](https://go.dev/learn) and
|
|
65
|
+
[golang.org/help](https://golang.org/help).
|
|
66
|
+
|
|
67
|
+
If you are new to Go, [this article](https://golang.org/doc/code.html) provides
|
|
68
|
+
the overview on Go code organization and basic `go` commands. Watch ["Getting
|
|
69
|
+
started with VS Code Go"] for an explanation of how to build your first Go
|
|
70
|
+
application using VS Code Go.
|
|
71
|
+
|
|
72
|
+
## Feature highlights
|
|
73
|
+
|
|
74
|
+
* [IntelliSense] - Results appear for symbols as you type.
|
|
75
|
+
* [Code navigation] - Jump to or peek at a symbol's declaration.
|
|
76
|
+
* [Code editing] - Support for saved snippets, formatting and code organization,
|
|
77
|
+
and automatic organization of imports.
|
|
78
|
+
* [Diagnostics] - Build, vet, and lint errors shown as you type or on save.
|
|
79
|
+
* Enhanced support for [testing] and [debugging]
|
|
80
|
+
|
|
81
|
+
See the [full feature breakdown] for more details.
|
|
82
|
+
|
|
83
|
+
<p align=center>
|
|
84
|
+
<img src="https://github.com/golang/vscode-go/raw/v0.40.3/docs/images/completion-signature-help.gif" width=75%>
|
|
85
|
+
<br/>
|
|
86
|
+
<em>(Code completion and Signature Help)</em>
|
|
87
|
+
</p>
|
|
88
|
+
|
|
89
|
+
In addition to integrated editing features, the extension provides several
|
|
90
|
+
commands for working with Go files. You can access any of these by opening the
|
|
91
|
+
Command Palette (`Ctrl+Shift+P` on Linux/Windows and `Cmd+Shift+P` on Mac), and
|
|
92
|
+
then typing in the command name. See the
|
|
93
|
+
[full list of commands](https://github.com/golang/vscode-go/wiki/commands#detailed-list) provided by this
|
|
94
|
+
extension.
|
|
95
|
+
|
|
96
|
+
<p align=center>
|
|
97
|
+
<img src="https://github.com/golang/vscode-go/raw/v0.40.3/docs/images/toggletestfile.gif" width=75%>
|
|
98
|
+
<br/><em>(Toggle Test File)</em></p>
|
|
99
|
+
|
|
100
|
+
**⚠️ Note**: the default syntax highlighting for Go files is provided by a
|
|
101
|
+
[TextMate rule](https://github.com/jeff-hykin/better-go-syntax) embedded in VS
|
|
102
|
+
Code, not by this extension.
|
|
103
|
+
|
|
104
|
+
For better syntax highlighting, we recommend enabling
|
|
105
|
+
[semantic highlighting](https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide)
|
|
106
|
+
by turning on [Gopls' `ui.semanticTokens` setting](https://github.com/golang/vscode-go/wiki/settings#uisemantictokens).
|
|
107
|
+
```
|
|
108
|
+
"gopls": { "ui.semanticTokens": true }
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Setting up your workspace
|
|
112
|
+
|
|
113
|
+
The VS Code Go extension supports both `GOPATH` and Go modules modes.
|
|
114
|
+
|
|
115
|
+
[Go modules](https://golang.org/ref/mod) are used to manage dependencies in
|
|
116
|
+
recent versions of Go. Modules replace the `GOPATH`-based approach to specifying
|
|
117
|
+
which source files are used in a given build, and they are the default build
|
|
118
|
+
mode in go1.16+. We highly recommend Go development in module mode. If you are
|
|
119
|
+
working on existing projects, please consider migrating to modules.
|
|
120
|
+
|
|
121
|
+
Unlike the traditional `GOPATH` mode, module mode does not require the workspace
|
|
122
|
+
to be located under `GOPATH` nor to use a specific structure. A module is
|
|
123
|
+
defined by a directory tree of Go source files with a `go.mod` file in the
|
|
124
|
+
tree's root directory.
|
|
125
|
+
|
|
126
|
+
Your project may involve one or more modules. If you are working with multiple
|
|
127
|
+
modules or uncommon project layouts, you will need to configure your workspace
|
|
128
|
+
by using [Workspace Folders]. See the
|
|
129
|
+
[Supported workspace layouts documentation] for more information.
|
|
130
|
+
|
|
131
|
+
## Preview version
|
|
132
|
+
|
|
133
|
+
If you'd like to get early access to new features and bug fixes, you can use the
|
|
134
|
+
nightly build of this extension. Learn how to install it in by reading the
|
|
135
|
+
[Go Nightly documentation](https://github.com/golang/vscode-go/wiki/nightly).
|
|
136
|
+
|
|
137
|
+
## Telemetry
|
|
138
|
+
|
|
139
|
+
VS Code Go extension relies on the [Go Telemetry](https://telemetry.go.dev) to
|
|
140
|
+
learn insights about the performance and stability of the extension and the
|
|
141
|
+
language server (`gopls``).
|
|
142
|
+
**Go Telemetry data uploading is disabled by default** and can be enabled
|
|
143
|
+
with the following command:
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
go run golang.org/x/telemetry/cmd/gotelemetry@latest on
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
After telemetry is enabled, the language server will upload metrics and stack
|
|
150
|
+
traces to [telemetry.go.dev](https://telemetry.go.dev). You can inspect what
|
|
151
|
+
data is collected and can be uploaded by running:
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
go run golang.org/x/telemetry/cmdgotelemetry@latest view
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
If we get enough adoption, this data can significantly advance the pace of
|
|
158
|
+
the Go extension development, and help us meet a higher standard
|
|
159
|
+
of reliability. For example:
|
|
160
|
+
|
|
161
|
+
- Even with [semi-automated crash
|
|
162
|
+
reports](https://github.com/golang/vscode-go/issues?q=is%3Aissue+is%3Aopen+label%3AautomatedReport)
|
|
163
|
+
in VS Code, we've seen several crashers go unreported for weeks or months.
|
|
164
|
+
- Even with [a suite of
|
|
165
|
+
benchmarks](https://perf.golang.org/dashboard/?benchmark=all&repository=tools&branch=release-branch.go1.20),
|
|
166
|
+
some performance regressions don't show up in our benchmark environment (such
|
|
167
|
+
as the [completion bug](https://go.dev/issue/62665) mentioned below!).
|
|
168
|
+
- Even with [lots of great
|
|
169
|
+
ideas](https://github.com/golang/go/issues?q=is%3Aissue+is%3Aopen+label%3Agopls+label%3Afeaturerequest)
|
|
170
|
+
for how to improve gopls, we have limited resources. Telemetry can help us
|
|
171
|
+
identify which new features are most important, and which existing features
|
|
172
|
+
aren't being used or aren't working well.
|
|
173
|
+
|
|
174
|
+
These are just a few ways that telemetry can improve gopls. The [telemetry blog
|
|
175
|
+
post series](https://research.swtch.com/telemetry-uses) contains many more.
|
|
176
|
+
|
|
177
|
+
Go telemetry is designed to be transparent and privacy-preserving. If you have
|
|
178
|
+
concerns about enabling telemetry, you can learn more at
|
|
179
|
+
[https://telemetry.go.dev/privacy](https://telemetry.go.dev/privacy).
|
|
180
|
+
|
|
181
|
+
## Contributing
|
|
182
|
+
|
|
183
|
+
We welcome your contributions and thank you for working to improve the Go
|
|
184
|
+
development experience in VS Code. If you would like to help work on the VS Code
|
|
185
|
+
Go extension, see our
|
|
186
|
+
[contribution guide](https://github.com/golang/vscode-go/wiki/contributing) to
|
|
187
|
+
learn how to build and run the VS Code Go extension locally and contribute to
|
|
188
|
+
the project.
|
|
189
|
+
|
|
190
|
+
## Code of Conduct
|
|
191
|
+
|
|
192
|
+
This project follows the
|
|
193
|
+
[Go Community Code of Conduct](https://golang.org/conduct). If you encounter a
|
|
194
|
+
conduct-related issue, please mail conduct@golang.org.
|
|
195
|
+
|
|
196
|
+
## License
|
|
197
|
+
|
|
198
|
+
[MIT](https://github.com/golang/vscode-go/raw/v0.40.3/LICENSE)
|
|
199
|
+
|
|
200
|
+
[Stack Overflow]: https://stackoverflow.com/questions/tagged/go+visual-studio-code
|
|
201
|
+
[`gopls`]: https://golang.org/s/gopls
|
|
202
|
+
[`go`]: https://golang.org/cmd/go
|
|
203
|
+
[Managing extensions in VS Code]: https://code.visualstudio.com/docs/editor/extension-gallery
|
|
204
|
+
[VS Code Go extension]: https://marketplace.visualstudio.com/items?itemName=golang.go
|
|
205
|
+
[Go installation guide]: https://golang.org/doc/install
|
|
206
|
+
["Getting started with VS Code Go"]: https://youtu.be/1MXIGYrMk80
|
|
207
|
+
[IntelliSense]: https://github.com/golang/vscode-go/wiki/features#intellisense
|
|
208
|
+
[Code navigation]: https://github.com/golang/vscode-go/wiki/features#code-navigation
|
|
209
|
+
[Code editing]: https://github.com/golang/vscode-go/wiki/features#code-editing
|
|
210
|
+
[diagnostics]: https://github.com/golang/vscode-go/wiki/features#diagnostics
|
|
211
|
+
[testing]: https://github.com/golang/vscode-go/wiki/features#run-and-test-in-the-editor
|
|
212
|
+
[debugging]: https://github.com/golang/vscode-go/wiki/debugging#features
|
|
213
|
+
[full feature breakdown]: https://github.com/golang/vscode-go/wiki/features
|
|
214
|
+
[workspace documentation]: https://github.com/golang/tools/blob/master/gopls/doc/workspace.md
|
|
215
|
+
[`Go: Install/Update Tools` command]: https://github.com/golang/vscode-go/wiki/commands#go-installupdate-tools
|
|
216
|
+
[Supported workspace layouts documentation]: https://github.com/golang/tools/blob/master/gopls/doc/workspace.md
|
|
217
|
+
[Workspace Folders]: https://code.visualstudio.com/docs/editor/multi-root-workspaces
|
|
Binary file
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Volar language server example for Angular
|
|
2
|
+
|
|
3
|
+
⚠️⚠️⚠️⚠️⚠️
|
|
4
|
+
|
|
5
|
+
Don't use it in the projects you work on.
|
|
6
|
+
|
|
7
|
+
It's not a production-ready tool, this is a quick implementation for demonstration purposes only, functionality reliability and correctness are not guaranteed, and there are no plan to maintenance this plugin.
|
|
8
|
+
|
|
9
|
+
⚠️⚠️⚠️⚠️⚠️
|
|
10
|
+
|
|
11
|
+
## Features
|
|
12
|
+
|
|
13
|
+
- Template AST error diagnosis
|
|
14
|
+
- Directives, Interpolations Syntax Highlighting
|
|
15
|
+
- Intellisense Support for Template Directives and Interpolations
|
|
16
|
+
- Component props and event types Support
|
|
17
|
+
- Type Narrowing Support for `*ngIf` if else block
|
|
18
|
+
- Only 500 KB and Fast
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
We have only one stubborn way to setup (that has the best performance) because this is for demonstration purposes only. Please make sure you follow each step.
|
|
23
|
+
|
|
24
|
+
1. Disable "TypeScript and JavaScript Language Features" to [takeover language support for .ts](https://vuejs.org/guide/typescript/overview.html#volar-takeover-mode)
|
|
25
|
+
|
|
26
|
+
1. Search `@builtin typescript-language-features` in Extensions sidebar
|
|
27
|
+
|
|
28
|
+
2. Right click and select "Disable (Workspace)"
|
|
29
|
+
|
|
30
|
+
2. Disable "Angular Language Service" to avoid conflict
|
|
31
|
+
|
|
32
|
+
1. Search `Angular.ng-template` in Extensions sidebar
|
|
33
|
+
|
|
34
|
+
2. Right click and select "Disable (Workspace)"
|
|
35
|
+
|
|
36
|
+
3. Create / Open `.vscode/settings.json` in workspace and put following setting.
|
|
37
|
+
|
|
38
|
+
```json
|
|
39
|
+
{
|
|
40
|
+
"volar.takeOverMode.extension": "johnsoncodehk.vscode-angular"
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
4. Reload VSCode
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
## 3.6.0 - 15.03.2022
|
|
2
|
+
|
|
3
|
+
- Overwriting previous release due to a packaging error
|
|
4
|
+
## 3.5.0 - 14.03.2022
|
|
5
|
+
|
|
6
|
+
- Add support for Alex and Happy ([#97](https://github.com/JustusAdam/language-haskell/issues/97)), thanks to [@matthewess](https://github.com/matthewess).
|
|
7
|
+
- Default to .hs when saving files ([#197](https://github.com/JustusAdam/language-haskell/issues/197)), thanks to [@noughtmare](https://github.com/noughtmare).
|
|
8
|
+
- Fix highlighting for custom quasi quoters with immediate `|`
|
|
9
|
+
([#203](https://github.com/JustusAdam/language-haskell/issues/203)).
|
|
10
|
+
- Be more specific about scope of this project in the README
|
|
11
|
+
|
|
12
|
+
## 3.4.0 - 25.02.2021
|
|
13
|
+
|
|
14
|
+
- Fix lists of the form ['|'...] being highlighted as quasiquotations
|
|
15
|
+
([#170](https://github.com/JustusAdam/language-haskell/issues/170)).
|
|
16
|
+
- Proper highlighting of lambda case, including fixing the highlighting of subsequent braces (which were wrongly highlighted as record syntax).
|
|
17
|
+
- Recognize indented `\begin{code}` boundary in literate haskell files.
|
|
18
|
+
- Fix highlighting of symbolic data constructors within fixity declarations (e.g. `infixl 9 :$`).
|
|
19
|
+
- Add `meta.embedded.block.{quasi-quoter}` scope to quasi-quotations.
|
|
20
|
+
- Ensure highlighting of unicode forall syntax matches that of alphabetic forall syntax
|
|
21
|
+
([#175](https://github.com/JustusAdam/language-haskell/issues/175)).
|
|
22
|
+
- Fix highlighting of empty quasi-quotations such as `[i||]`.
|
|
23
|
+
- Support GHC 9.0 pragmas: `LinearTypes`, `QualifiedDo`, `LexicalNegation`.
|
|
24
|
+
- Add support for [modifiers](https://github.com/ghc-proposals/ghc-proposals/pull/370), e.g. `id :: a %1 -> a`.
|
|
25
|
+
|
|
26
|
+
## 3.3.0 - 25.06.2020
|
|
27
|
+
|
|
28
|
+
- Different approach to fixing slow highlighting of data declarations
|
|
29
|
+
([#161](https://github.com/JustusAdam/language-haskell/issues/161)).
|
|
30
|
+
- Fix highlighting for existential data constructor when the
|
|
31
|
+
class constraint spans multiple lines.
|
|
32
|
+
- Fix highlighting for GADT with where clause using `{`/`}` for indentation.
|
|
33
|
+
- Improve highlighting of existential data constructor in complex situations.
|
|
34
|
+
- Fix highlighting of symbolic pattern declarations and symbolic data constructors.
|
|
35
|
+
- Improvements to highlighting of pragmas [#163](https://github.com/JustusAdam/language-haskell/issues/163),
|
|
36
|
+
including support for Haddock options.
|
|
37
|
+
- Fix highlighting of record at syntax following an identifier that ends with an apostrophe.
|
|
38
|
+
- Improve highlighting of symbolic constructors in import/export lists.
|
|
39
|
+
|
|
40
|
+
## 3.2.1 - 14.05.2020
|
|
41
|
+
|
|
42
|
+
- Attempt to limit backtracking in regular expression for data declarations
|
|
43
|
+
([#161](https://github.com/JustusAdam/language-haskell/issues/161)).
|
|
44
|
+
- Improved highlighting for multi-line standalone kind signatures.
|
|
45
|
+
- Improved type highlighting in multiline deriving declarations.
|
|
46
|
+
|
|
47
|
+
## 3.2.0 - 11.05.2020
|
|
48
|
+
|
|
49
|
+
- Improvements to highlighting data constructors:
|
|
50
|
+
- support for infix data constructors
|
|
51
|
+
- in definitions ([#132](https://github.com/JustusAdam/language-haskell/issues/132)),
|
|
52
|
+
- in other situations ([#120](https://github.com/JustusAdam/language-haskell/issues/120)),
|
|
53
|
+
- correctly parse comments on the same line as a data declaration,
|
|
54
|
+
- fix regression with GADT constructors when `::` follows on a new line
|
|
55
|
+
([#119](https://github.com/JustusAdam/language-haskell/issues/119)),
|
|
56
|
+
- fix regression: allow data constructor preceded by a symbol (e.g. parenthesis, comma) [#122](https://github.com/JustusAdam/language-haskell/issues/122),
|
|
57
|
+
- fix highlighting of GADT constructors that end with apostrophes,
|
|
58
|
+
- highlighting now also applies to data families ([#72](https://github.com/JustusAdam/language-haskell/issues/72)).
|
|
59
|
+
- Correct highlighting of types in type families.
|
|
60
|
+
- Improvements to pattern synonyms
|
|
61
|
+
- support multiline type signatures,
|
|
62
|
+
- allow several pattern synonyms to be declared at once ([#72](https://github.com/JustusAdam/language-haskell/issues/72)).
|
|
63
|
+
- Fix regression: LiquidHaskell highlighting ([#131](https://github.com/JustusAdam/language-haskell/issues/136))
|
|
64
|
+
- Improvements to deriving:
|
|
65
|
+
- improve leniency for whitespace in deriving declarations,
|
|
66
|
+
- allow unparenthesised `via` clauses, and highlight the derived instance code as usual,
|
|
67
|
+
- highlight multiline `deriving via` clauses (in most situations),
|
|
68
|
+
- highlight deriving strategies ([#72](https://github.com/JustusAdam/language-haskell/issues/72)).
|
|
69
|
+
- Improvements to records:
|
|
70
|
+
- fix regression: allow extra spaces between record field and type signature ([#118](https://github.com/JustusAdam/language-haskell/issues/118)),
|
|
71
|
+
- support record syntax in GADTs,
|
|
72
|
+
- highlight record fields,
|
|
73
|
+
- highlight record `@` syntax,
|
|
74
|
+
- fix regression for comments inside record definitions ([#131](https://github.com/JustusAdam/language-haskell/issues/136)).
|
|
75
|
+
- Improve highlighting of ticks ([#136](https://github.com/JustusAdam/language-haskell/issues/136)),
|
|
76
|
+
([#71](https://github.com/JustusAdam/language-haskell/issues/71)).
|
|
77
|
+
- Module imports/exports improvements:
|
|
78
|
+
- allow C preprocessor instructions to appear in module exports,
|
|
79
|
+
- improved highlighting of `type T` and `pattern P` declarations,
|
|
80
|
+
- improve support for unusual indentation.
|
|
81
|
+
- Foreign import/export declarations:
|
|
82
|
+
- more calling conventions recognised,
|
|
83
|
+
- recognise safe/unsafe/interruptible keywords,
|
|
84
|
+
- correct highlighting of type signature, including over multiple lines.
|
|
85
|
+
- Fix several issues with comments:
|
|
86
|
+
- allow intervening comments in type/data declarations,
|
|
87
|
+
- fix pragmas sometimes being highlighted as comments ([#150](https://github.com/JustusAdam/language-haskell/issues/150)),
|
|
88
|
+
- fix wrong highlighting when a pragma is found inside a block comment
|
|
89
|
+
([#116](https://github.com/JustusAdam/language-haskell/issues/116)),
|
|
90
|
+
- support for Haddock documentation heralds `*`, `^`, `$`.
|
|
91
|
+
- Highlight recognised language extensions.
|
|
92
|
+
- Highlight type signature in `SPECIALISE` annotations.
|
|
93
|
+
- Improvements to multi-line declarations:
|
|
94
|
+
- fixed several issues involving multi-line type/data declarations ([#147](https://github.com/JustusAdam/language-haskell/pull/147)),
|
|
95
|
+
- fix regression in highlighting subsequent lines in a multi-line type signature
|
|
96
|
+
when the initial `::` appears appears first on a line,
|
|
97
|
+
- fix wrong highlighting in multi-line class declarations.
|
|
98
|
+
- Add support for visible kind application (and miscellaneous fixes for visible type application).
|
|
99
|
+
- Improved support for reserved symbolic operators.
|
|
100
|
+
- Bugfix for escaped character literals (e.g. `'\^A'`).
|
|
101
|
+
- Fix for floating point numeric literals not being highlighted properly.
|
|
102
|
+
- Newly highlighted items:
|
|
103
|
+
- bang patterns and irrefutable patterns ([#145](https://github.com/JustusAdam/language-haskell/issues/145)),
|
|
104
|
+
- as mentioned above: record `@` syntax (tight infix `@`), and record fields,
|
|
105
|
+
- bang patterns (prefix `!`) and irrefutable patterns (prefix `~`),
|
|
106
|
+
- arrow operators such as `-<`,
|
|
107
|
+
- opt-in: magic hash using `keyword.operator.hash` and `keyword.operator.postfix.hash`,
|
|
108
|
+
- unrestricted OverloadedLabels ([#68](https://github.com/JustusAdam/language-haskell/issues/68)),
|
|
109
|
+
- role annotation keywords (nominal/representational/phantom).
|
|
110
|
+
- GHC language extensions (including deprecated highlighting for deprecated extensions).
|
|
111
|
+
- Simple support for Haskell quasi-quoters `e`, `p`, `d` and `t` ([#23](https://github.com/JustusAdam/language-haskell/issues/23)),
|
|
112
|
+
as well as typed quotes.
|
|
113
|
+
Other quasi-quoters simply disable Haskell highlighting.
|
|
114
|
+
- Support for `.hs-boot` files ([#117](https://github.com/JustusAdam/language-haskell/issues/117)).
|
|
115
|
+
- Preliminary support for `C2Hs` and `Hsc2Hs` filetypes.
|
|
116
|
+
- Support for cabal [internal libraries](https://www.haskell.org/cabal/users-guide/developing-packages.html#sublibs).
|
|
117
|
+
- Fix type signature not always ending when encountering a closing bracket.
|
|
118
|
+
- Allow a qualified type to be the first argument of an infix constructor inside a data declaration.
|
|
119
|
+
|
|
120
|
+
## 3.1.0 - 11.05.2020
|
|
121
|
+
|
|
122
|
+
Released in error without any changes.
|
|
123
|
+
|
|
124
|
+
## 3.0.0 - 26.04.2020
|
|
125
|
+
|
|
126
|
+
- Integrated several contributions from [@robrix](https://github.com/robrix)
|
|
127
|
+
- Highlight `common` stanzas in `.cabal` files
|
|
128
|
+
([#105](https://github.com/JustusAdam/language-haskell/pull/105))
|
|
129
|
+
- Highlight `benchmark` components in `.cabal` files
|
|
130
|
+
([#105](https://github.com/JustusAdam/language-haskell/pull/105))
|
|
131
|
+
- Highlight the `import` and `autogen-modules` fields in `.cabal` files
|
|
132
|
+
([#105](https://github.com/JustusAdam/language-haskell/pull/105))
|
|
133
|
+
- Fix an issue where operators starting with `::` were incorrectly treated as type signatures
|
|
134
|
+
([#106](https://github.com/JustusAdam/language-haskell/pull/106))
|
|
135
|
+
- Highlight `COMPLETE` pragmas ([#107](https://github.com/JustusAdam/language-haskell/pull/107))
|
|
136
|
+
- Highlight `INLINEABLE` pragmas ([#107](https://github.com/JustusAdam/language-haskell/pull/107))
|
|
137
|
+
- Highlight `COLUMN` pragmas ([#107](https://github.com/JustusAdam/language-haskell/pull/107))
|
|
138
|
+
- Fixed highlighting for multi line type aliases
|
|
139
|
+
([#111](https://github.com/JustusAdam/language-haskell/issues/111))
|
|
140
|
+
- Fixed highlighting of string literals in deprecation pragmas
|
|
141
|
+
([#112](https://github.com/JustusAdam/language-haskell/issues/112))
|
|
142
|
+
- Specialized highlighting for `signature`, to permit it as an identifier
|
|
143
|
+
([#108](https://github.com/JustusAdam/language-haskell/issues/108))
|
|
144
|
+
- Fixed comments occurring in place of export lists
|
|
145
|
+
([#104](https://github.com/JustusAdam/language-haskell/issues/104))
|
|
146
|
+
- Pragmas are now case insensitive ([#81](https://github.com/JustusAdam/language-haskell/issues/81))
|
|
147
|
+
- Fixed matcher for end of type annotations. Facilitates indented `module` blocks
|
|
148
|
+
([#91](https://github.com/JustusAdam/language-haskell/issues/91)) and standalone deriving
|
|
149
|
+
([#89](https://github.com/JustusAdam/language-haskell/issues/89))
|
|
150
|
+
- Updated cabal grammar ([#93](https://github.com/JustusAdam/language-haskell/issues/93))
|
|
151
|
+
- Shoddily fixed promotion ticks ([#71](https://github.com/JustusAdam/language-haskell/issues/71))
|
|
152
|
+
- Added support for custom type operators
|
|
153
|
+
([#70](https://github.com/JustusAdam/language-haskell/issues/70))
|
|
154
|
+
- Support for single-line `deriving via` and `deriving ... via ...` ([#72](https://github.com/JustusAdam/language-haskell/issues/72))
|
|
155
|
+
- Rudimentary support for pattern synonyms ([#72](https://github.com/JustusAdam/language-haskell/issues/72))
|
|
156
|
+
- Better support for type families and type instances ([#72](https://github.com/JustusAdam/language-haskell/issues/72))
|
|
157
|
+
- Fixed highlighting for type level integers ([#51](https://github.com/JustusAdam/language-haskell/issues/51))
|
|
158
|
+
- Improved support for type definitions
|
|
159
|
+
- Constructors are now highlighted properly in definitions
|
|
160
|
+
- Fixed highlighting for records ([#38](https://github.com/JustusAdam/language-haskell/issues/38))
|
|
161
|
+
- Type signatures are now highlighted properly in single-line type definitions
|
|
162
|
+
- GADT's can now span multiple lines ([#102](https://github.com/JustusAdam/language-haskell/issues/102))
|
|
163
|
+
- Implemented existential types ([#39](https://github.com/JustusAdam/language-haskell/issues/39))
|
|
164
|
+
- `data` and `newtype`s can now include kind signatures ([#35](https://github.com/JustusAdam/language-haskell/issues/35))
|
|
165
|
+
- Support for foreign imports (see https://www.haskell.org/onlinereport/haskell2010/haskellch8.html)
|
|
166
|
+
([#44](https://github.com/JustusAdam/language-haskell/issues/44))
|
|
167
|
+
- Support for visible type applications ([#73](https://github.com/JustusAdam/language-haskell/issues/73))
|
|
168
|
+
- Support for nested block comments by [@reactormonk](https://github.com/reactormonk)
|
|
169
|
+
- `module` and `pattern` keyword in export lists
|
|
170
|
+
([#18](https://github.com/JustusAdam/language-haskell/issues/18))
|
|
171
|
+
- Fixed parentheses handling in export lists and made the colouring more consistent
|
|
172
|
+
([#69](https://github.com/JustusAdam/language-haskell/issues/69))
|
|
173
|
+
- Corrected comment delimiter for literate Haskell files. By [@sjorn3](https://github.com/sjorn3) in
|
|
174
|
+
[#87](https://github.com/JustusAdam/language-haskell/pull/87/files)
|
|
175
|
+
- As a substantial internal change the grammar migratd to the YAML format, to make it easier to
|
|
176
|
+
maintain and develop with.
|
|
177
|
+
- Refined many of the tm scopes with new information available from the parser
|
|
178
|
+
|
|
179
|
+
## 2.7.0 - 29.12.2019
|
|
180
|
+
|
|
181
|
+
- Fixed the no-indent regex
|
|
182
|
+
([#86](https://github.com/JustusAdam/language-haskell/issues/86))
|
|
183
|
+
- Changing auto indent rules to only trigger on first line after indent.
|
|
184
|
+
Contributed in [#92](https://github.com/JustusAdam/language-haskell/pull/92)
|
|
185
|
+
by [@hanjinko](https://github.com/hajinko)
|
|
186
|
+
|
|
187
|
+
## 2.6.0 - 05.04.2019
|
|
188
|
+
|
|
189
|
+
- Highlighting for backpack signature files added. Contributed in
|
|
190
|
+
[#74](https://github.com/JustusAdam/language-haskell/pull/74) by
|
|
191
|
+
[@edmundnoble](https://github.com/edmundnoble)
|
|
192
|
+
- `mixins` keyword added to the cabal grammar. Contributed in
|
|
193
|
+
[#76](https://github.com/JustusAdam/language-haskell/pull/76) by
|
|
194
|
+
[@arkrost](https://github.com/arkrost)
|
|
195
|
+
- Module qualifiers in infix applications are now distinguished through
|
|
196
|
+
highlighting. Contributed in
|
|
197
|
+
[#58](https://github.com/JustusAdam/language-haskell/pull/58) by
|
|
198
|
+
[@sheaf](https://github.com/sheaf)
|
|
199
|
+
- Support for LiquidHaskell annotations added in
|
|
200
|
+
[#78](https://github.com/JustusAdam/language-haskell/pull/78) by
|
|
201
|
+
[@ranjitjhala](https://github.com/ranjitjhala)
|
|
202
|
+
- Add support for LiquidHaskell annotations
|
|
203
|
+
|
|
204
|
+
## 2.5.0 - 12.05.2018
|
|
205
|
+
|
|
206
|
+
- Adds support for numeric literals as defined in [this
|
|
207
|
+
proposal](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0009-numeric-underscores.rst#new-syntax-this-proposal)
|
|
208
|
+
in [#49](https://github.com/JustusAdam/language-haskell/pull/49) by
|
|
209
|
+
[@takenobu-hs](https://github.com/takenobu-hs)
|
|
210
|
+
- Added code injection to markdown for Haskell (`hs`, `haskell`), literate
|
|
211
|
+
Haskell (`lhs`, `literate-haskell`) and Cabal (`Cabal`) in
|
|
212
|
+
[#55](https://github.com/JustusAdam/language-haskell/pull/55),
|
|
213
|
+
[#56](https://github.com/JustusAdam/language-haskell/pull/56) and
|
|
214
|
+
[#57](https://github.com/JustusAdam/language-haskell/pull/57) by
|
|
215
|
+
[@glebec](https://github.com/glebec)
|
|
216
|
+
- Fixed parsing for type-level strings
|
|
217
|
+
([#50](https://github.com/JustusAdam/language-haskell/pull/50))
|
|
218
|
+
- Fixed highlighting of empty type classes.
|
|
219
|
+
([#66](https://github.com/JustusAdam/language-haskell/issues/66))
|
|
220
|
+
|
|
221
|
+
## 2.4.0 - 06.10.2017
|
|
222
|
+
|
|
223
|
+
- Merged pull request
|
|
224
|
+
[#45](https://github.com/JustusAdam/language-haskell/pull/45) by
|
|
225
|
+
[@Porges](https://github.com/Porges)
|
|
226
|
+
- Add support for some UnicodeSyntax
|
|
227
|
+
- Enabling off-side code folding (new feature since vscode 1.17) Folding a
|
|
228
|
+
region of code does not fold empty lines trailing the region anymore
|
|
229
|
+
- Merged pull request
|
|
230
|
+
[#47](https://github.com/JustusAdam/language-haskell/pull/47) by
|
|
231
|
+
[@scott-fleischman](https://github.com/scott-fleischman)
|
|
232
|
+
- Add `haskell.indentationRules.enabled` setting to disable automatic
|
|
233
|
+
indentation via user settings
|
|
234
|
+
|
|
235
|
+
## 2.3.2 - 18.08.2017
|
|
236
|
+
|
|
237
|
+
- Fixed highlighting for alternate control character syntax. Solves issue
|
|
238
|
+
[#42](https://github.com/JustusAdam/language-haskell/issues/43)
|
|
239
|
+
|
|
240
|
+
## 2.3.1 - 18.07.2017
|
|
241
|
+
|
|
242
|
+
- Patch release to fix version invalidity
|
|
243
|
+
|
|
244
|
+
## 2.3 - 18.07.2017
|
|
245
|
+
|
|
246
|
+
- Merged pull request
|
|
247
|
+
[#37](https://github.com/JustusAdam/language-haskell/pull/37) by
|
|
248
|
+
[@jBugman](https://github.com/jBugman)
|
|
249
|
+
- Adds `custom-setup` section to cabal syntax
|
|
250
|
+
- Adds support for line comments (`--`) to cabal syntax
|
|
251
|
+
- Changed logo to png (svg is not supported anymore)
|
|
252
|
+
|
|
253
|
+
## 2.2.3 - 29.06.2017
|
|
254
|
+
|
|
255
|
+
- Adapted increaseIndentPattern to skip keywords followed by `'` (related to the
|
|
256
|
+
handling of `keyword'` identifiers as reported in
|
|
257
|
+
[#31](https://github.com/JustusAdam/language-haskell/issues/31))
|
|
258
|
+
- Fixed terminating type signatures on `else`, `then` etc.
|
|
259
|
+
- Fixed not increasing indent for one-line `if` (see
|
|
260
|
+
[#34](https://github.com/JustusAdam/language-haskell/issues/34))
|
|
261
|
+
|
|
262
|
+
## 2.2.2 - 27.06.2017
|
|
263
|
+
|
|
264
|
+
- Fixed highlighting for `where` keyword in GADT definition
|
|
265
|
+
- Fixed highlighting for `<-` and following expression when preceeded by type
|
|
266
|
+
signature (see
|
|
267
|
+
[#28](https://github.com/JustusAdam/language-haskell/issues/28))
|
|
268
|
+
- Added `mdo` and `rec` to keywords (see
|
|
269
|
+
[#29](https://github.com/JustusAdam/language-haskell/issues/29))
|
|
270
|
+
- Added automatic indent for `mdo` blocks
|
|
271
|
+
- Changed keyword regexes to not fire when followed by `'` (see
|
|
272
|
+
[#31](https://github.com/JustusAdam/language-haskell/issues/31))
|
|
273
|
+
- Fixed highlighing for qualified infix functions (see
|
|
274
|
+
[#30](https://github.com/JustusAdam/language-haskell/issues/30))
|
|
275
|
+
|
|
276
|
+
## 2.2.1 - 07.06.2017
|
|
277
|
+
|
|
278
|
+
- Removed snippets contribution from package.json (fixes `ENOENT: no such file
|
|
279
|
+
or directory` error) discovered and fixed by
|
|
280
|
+
[@dsifford](https://gihub.com/dsifford)
|
|
281
|
+
|
|
282
|
+
## 2.2.0 - 26.05.2017
|
|
283
|
+
|
|
284
|
+
- Removed snippets by request from [@Eugleo](https://github.com/Eugleo) in
|
|
285
|
+
[#25](https://github.com/JustusAdam/language-haskell/issues/25)
|
|
286
|
+
|
|
287
|
+
## 2.1.1 - 15.04.2017
|
|
288
|
+
|
|
289
|
+
- Fixed two issues with highlighting for deriving clauses
|
|
290
|
+
- Added a new rule for deriving clauses of single class without parentheses
|
|
291
|
+
(see [#15](https://github.com/JustusAdam/language-haskell/issues/15) and
|
|
292
|
+
[#19](https://github.com/JustusAdam/language-haskell/issues/19))
|
|
293
|
+
- Modified old rule inner matches to be recursive -> Adds correct
|
|
294
|
+
highlighting for parethesised class type arguments
|
|
295
|
+
|
|
296
|
+
## 2.1.0 - 12.03.2017
|
|
297
|
+
|
|
298
|
+
- Fixed an issue where type signature detection would not end at end of record
|
|
299
|
+
definition
|
|
300
|
+
- Added GHC pragmas and directives (thank you to
|
|
301
|
+
[@metaleap](https://github.com/metaleap))
|
|
302
|
+
|
|
303
|
+
## 2.0.0 - 15.02.2017
|
|
304
|
+
|
|
305
|
+
- Retroactive version bump due to large previous changes
|
|
306
|
+
- License changed
|
|
307
|
+
|
|
308
|
+
## 1.5.0 - 13.02.2017
|
|
309
|
+
|
|
310
|
+
- Removed highlighting for prelude functions, as it is confusing. (see
|
|
311
|
+
[#11](https://github.com/JustusAdam/language-haskell/issues/11))
|
|
312
|
+
- New rules:
|
|
313
|
+
- to recognize and correctly highlight inline type signatures (reported in
|
|
314
|
+
[#11](https://github.com/JustusAdam/language-haskell/issues/11))
|
|
315
|
+
- for `type` to highlight left and right side of `=` as type signature
|
|
316
|
+
- for `data` to highlight only right side of `=` as type signature
|
|
317
|
+
- for distinction between comments and haddock documentation
|
|
318
|
+
|
|
319
|
+
## 1.4.4 - 12.01.2017
|
|
320
|
+
|
|
321
|
+
- Fixed a bug where in consecutive type signatures the later ones are not
|
|
322
|
+
highlighed properly
|
|
323
|
+
|
|
324
|
+
## 1.4.3 - 23.12.2016
|
|
325
|
+
|
|
326
|
+
- Removing auto closing `'` per suggestion from
|
|
327
|
+
[@HuwCampbell](https://github.com/HuwCampbell) (see
|
|
328
|
+
[#9](https://github.com/JustusAdam/language-haskell/issues/9))
|
|
329
|
+
|
|
330
|
+
### 1.4.2 - 21.12.2016
|
|
331
|
+
|
|
332
|
+
- Changing grammar to accomodate indented functions
|
|
333
|
+
|
|
334
|
+
### 1.4.1 - 21.12.2016
|
|
335
|
+
|
|
336
|
+
- Changing grammar to try and fix the markup of function names preceeding type
|
|
337
|
+
signatures
|
|
338
|
+
|
|
339
|
+
### 1.4.0 - 17.12.2016
|
|
340
|
+
|
|
341
|
+
- Manual merging of changes from
|
|
342
|
+
[haskell.tmbundle#18](https://github.com/textmate/haskell.tmbundle/pull/18) by
|
|
343
|
+
[@sanssecours](https://github.com/sanssecours) for several markup fixes (most
|
|
344
|
+
importantly multi line type signatures (see
|
|
345
|
+
[#1](https://github.com/JustusAdam/language-haskell/issues/1)))
|
|
346
|
+
|
|
347
|
+
### 1.3.0
|
|
348
|
+
|
|
349
|
+
- Replacing typescript initializer with json configuration
|
|
350
|
+
- Adding smart brackets
|
|
351
|
+
|
|
352
|
+
### 1.2.3
|
|
353
|
+
|
|
354
|
+
- PR from [@Miguel-Fontes](https://github.com/Miguel-Fontes) to
|
|
355
|
+
- add markup for literate haskell files (see
|
|
356
|
+
[#7](https://github.com/JustusAdam/language-haskell/issues/7))
|
|
357
|
+
- add markup for embedded haskell code in latex
|