Closed svenefftinge closed 5 years ago
Great idea! @akosyakov do you think we could install it as a VSCode extension in Gitpod's Theia, or would it be more practical to steal/import its configuration and language server directly?
Right now there is no way to install VS Code extensions in Gitpod. We could start by trying out support of better-toml with pure Theia and raise issues for missing APIs and metadata support.
In order to try with local Theia:
THEIA_DEFAULT_PLUGINS=local-dir:///myplugins_folder
You can try it with Gitpod using the browser app from Theia repo.
Thanks @akosyakov. I'll soon try using the TOML VSCode extension in Theia directly, and file any bugs I encounter.
@svenefftinge In the short term, TOML is very close to INI, which Theia already supports. Do you think it's possible to somehow coerce Gitpod into syntax-highlighting TOML as INI? It would look like this:
I extended Theia's INI grammar to include .properties
and .toml
files in https://github.com/theia-ide/theia/pull/4015.
This should make TOML support good enough until we can use the VSCode extension with its language server.
Great, then let's close this issue.
Having the language server you mentioned would be great as well, but I agree that it can wait that VSCode extensions are well supported.
We could possibly leverage configuration and LS from https://github.com/bungcip/better-toml