Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE extension for naninovel scripts #56

Open
edisonlee55 opened this issue May 16, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@edisonlee55
Copy link

commented May 16, 2019

Describe your idea
A clear and concise description what should we change or add.

I knew that Naninovel is working on the extension for Atom, but add extension support for more variety of editor and IDE (eg, Visual Studio, Visual Studio Code, Sublime Text, etc.) would be awesome.

Describe possible use cases
A concrete example or two on how the proposed change could be used.

  • Syntax highlighting
  • Check for script errors
  • Script auto-completion

Share reference implementations
If applicable, add screenshots or links to other resources that shows a similar feature implemented in other VN engines or games.

Scripts are varied between different VN engines, some of VN engines do provide IDE extension for their scripts.

@Elringus

This comment has been minimized.

Copy link
Owner

commented May 16, 2019

While we would like to add support for as much editors as possible, the amount of work required to support even one editor is overwhelming for our current capabilities.

To make things easier, we've decided to use LSP and tree-sitter to build core parser once and then re-use it for different IDEs.

We already have a working prototype of the parser, but one issue is blocking the release: LSP currently doesn't support syntax highlighting, so it still should be done individually for each IDE. Atom happened to support tree-sitter natively, so we just plugged it for syntax highlighting and are going to release the extension in the foreseeable future. For all the other IDEs we have to wait until LSP supports the highlighting. Here is a corresponding thread on the official LSP repo in case you wish to track that: microsoft/vscode-languageserver-node#367

@Elringus Elringus changed the title Novel scripts editor and IDE extension IDE extension for naninovel scripts May 23, 2019

@Elringus

This comment has been minimized.

Copy link
Owner

commented Jun 25, 2019

Support for Atom editor is now available.

https://naninovel.com/guide/naninovel-scripts.html#ide-support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.