Simon Hausmann
7fed127683
Avoid accidentally running the LSP with an empty process environment
...
Always merge in node's process.env and then apply our modifications afterwards
2021-05-17 13:13:51 +02:00
Olivier Goffart
9dc6cf943f
VScode: Fix LSP on Linux
...
The environment variable such as "DISPLAY" were not forwared
2021-05-17 12:56:33 +02:00
Simon Hausmann
2780a2c378
Improve verbosity of the LSP server when using dev packages
...
Local .vsix builds or even when debugging the extension directly now
runs the LSP with RUST_BACKTRACE=1.
2021-05-11 20:57:47 +02:00
Olivier Goffart
4dc9a6ee78
Add links in some README
...
Since they are going to be shown out of context
2021-04-27 17:14:30 +02:00
Simon Hausmann
f1cc1a049f
Fix link to $self in the vs code extension README
2021-04-27 17:12:12 +02:00
Olivier Goffart
3380383787
Bump version number
...
(Does not include docs and README yet)
2021-04-26 13:16:48 +02:00
Olivier Goffart
6013baf569
Highlight the return keyword
2021-04-25 14:23:57 +02:00
Olivier Goffart
ef31e3e850
VSCode highlighting: fix nested block comments and keywords
2021-04-23 16:47:58 +02:00
Simon Hausmann
4580953950
Try to fix the icon title on macOS
...
... by setting the bundle identifier
2021-04-22 08:47:42 +02:00
Simon Hausmann
92345f2052
Try to build the macOS binary as universal binary
...
One day cargo will be able to do this for us
2021-04-22 08:06:44 +02:00
Simon Hausmann
3b22baa5e2
Try to build the vs code extension binaries for macOS as bundles
...
Using cargo-bundle allows for the inclusion of the extension logo
as app icon and that subsequently replaces the generic "exec"
icon in the macOS dock with the extension logo.
Fixes #197
2021-04-21 17:02:14 +02:00
Simon Hausmann
22a084cc3b
Use an icon for the vs code extension with rounded corners
...
This makes it suitable for use as bundle icon, too
2021-04-21 17:02:14 +02:00
Olivier Goffart
a926d2030b
vscode: show the status bar even when using the action
2021-04-17 17:25:19 +02:00
Olivier Goffart
797663a3d5
Fix typescript warnings
2021-04-17 17:23:14 +02:00
Simon Hausmann
3f6a8af797
For the future vs code non-nightly release, sync the version
...
This way it'll be bumped when going through the release check list.
It being in sync with the rest of the run-time makes it easier to process
feedback from users. ("What version are you linking against and what do you have installed in vs code?)
2021-04-17 11:46:57 +02:00
Simon Hausmann
9dc226379d
Try to include arm linux binaries in the vs code extension
2021-04-16 15:42:20 +02:00
Simon Hausmann
43e7df95af
Basic rpi support for the vs code extension
...
* Detect if we're running remotely and assume full screen access to the local device on Linux
* Match also for arm lsp binaries on Linux
2021-04-16 15:31:46 +02:00
Simon Hausmann
47bdfef339
Add missing license property to vs code extension
2021-04-16 10:11:19 +02:00
Olivier Goffart
19da6c7891
Remove file that was put by the extension template
2021-04-15 15:05:09 +02:00
Simon Hausmann
ee22e2da32
Add a logo to the extension package
...
Unfortunately this needs to be a local file
2021-04-15 13:46:47 +02:00
Olivier Goffart
def9de8bd1
Fix ts warning
2021-04-15 12:05:46 +02:00
Simon Hausmann
bd59ecf868
Beef up the vs code extension readme a little bit
...
For the release to the market place, the "Building from Source" bits
are meant to be stripped away.
2021-04-15 11:43:46 +02:00
Simon Hausmann
ed888664f9
Fix category in vs code extension package.json and mark as preview
2021-04-14 19:49:46 +02:00
Olivier Goffart
9ce63b80b9
VS extension: Add a status bar bar item with status of the preview
2021-04-14 15:01:25 +02:00
Simon Hausmann
31611fcefe
Add .gitignore
2021-04-09 15:23:38 +02:00
Simon Hausmann
78d95e2a43
Remove obsolete build script
...
This is handled by the github CI yaml file in a better way
2021-04-09 10:51:34 +02:00
Simon Hausmann
9da837f5a0
Make it easier to build a local package
...
Prioritize the debug or unprefixed lsp binaries in the search and update
the README.
2021-04-09 10:51:12 +02:00
Olivier Goffart
d7e59e881f
VSCode extension: add a way to restart the server
2021-04-07 18:17:03 +02:00
Olivier Goffart
32891c0306
Add a features section in the README of the VSCode extension
2021-04-07 13:40:39 +02:00
Simon Hausmann
da3126aea4
Fix typo in vscode extension debug output
2021-04-06 22:51:12 +02:00
Simon Hausmann
8d470c4684
vscode extension: use spaces instead of tabs
2021-04-06 22:50:50 +02:00
Olivier Goffart
309a9274e1
LSP: preview window
...
Currently not yet live preview from the open document content, but that should totaly be doable
2021-04-03 10:00:12 +02:00
Simon Hausmann
c4f615479c
Prepare for supporting aarch64 for apple m1 in extension.ts
2021-04-02 13:02:29 +02:00
Simon Hausmann
1cd49b93bb
Some work towards including macos binaries in the vscode extension
...
Github Actions does not support docker on macos hosts, so we can't use cross.
Instead try to use separate github action builds and artifacts to share the lsp binary creation.
2021-04-02 12:24:03 +02:00
Simon Hausmann
6e3efbd3ec
Fix launching the lsp server on Windows when debugging
...
When looking in ../target/debug we need to add the .exe extension
2021-04-01 13:35:44 +02:00
Olivier Goffart
6b0f2f698b
Placeholder for the preview in the vscode extension
2021-04-01 13:24:13 +02:00
Simon Hausmann
27ee7b0758
Try to avoid doing cross builds on Linux
2021-04-01 12:57:01 +02:00
Simon Hausmann
bf9916d5eb
Fix VS code extension license header
...
Not sure why the formatter ended up using tabs :(
2021-04-01 12:41:49 +02:00
Simon Hausmann
561e1259d1
First attempt at automated build
...
Todo: Detect a Linux host and use a regular native build instead of cross.
2021-04-01 12:41:49 +02:00
Olivier Goffart
72931aff74
Add some (yet to implement) preview commands
2021-04-01 12:28:20 +02:00
Olivier Goffart
12a098856e
Fix TS warnings
...
vscode is strict about style
2021-04-01 12:22:00 +02:00
Olivier Goffart
eec918e95a
Instruction to run the vscode extension
2021-04-01 12:12:04 +02:00
Simon Hausmann
e754903325
Try to bundle the lsp server in the vscode extension package
...
The rust binary creation is not automated yet though.
2021-04-01 11:38:57 +02:00
Simon Hausmann
a5a820567c
Add missing publisher/repo fields
...
To silence `vsce package`
2021-04-01 09:59:20 +02:00
Simon Hausmann
560700a71b
Add a comment about the current state of running the LSP
2021-03-31 22:09:20 +02:00
Olivier Goffart
2a43575528
Fix license header check
...
By removing files that needn't to be checked in or adding the right header
2020-12-23 18:08:43 +01:00
Olivier Goffart
b124826fd6
Make the goto definition actually works with vscode
2020-12-23 15:15:53 +01:00
Olivier Goffart
21a86de972
Make the sixtyFPS LSP server load from VSCode
2020-12-23 15:15:53 +01:00
Olivier Goffart
3409bbd57f
Put back the sixtyfps syntax coloration
2020-12-23 15:15:53 +01:00
Olivier Goffart
9de9fdd900
Generate the vscode extension with the wizard
2020-12-23 15:15:53 +01:00