Texinfo language support for Visual Studio Code.
https://sv.nongnu.org/p/vscode-texinfo
CismonX b83a63b6f0 | ||
---|---|---|
assets | ||
scripts | ||
src | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
.vscodeignore | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
language-config.json | ||
package-lock.json | ||
package.json | ||
tsconfig.json |
README.md
vscode-texinfo
Texinfo language support for Visual Studio Code.
Features
- Syntax Highlighting
- Provided by the same TextMate grammar as used in GitHub.
- Code Completion
- Completion for most @-commands.
- Code snippets for blocks and brace commands.
- Folding
- Fold on blocks, headers and multiline comments.
- Preview
- Display HTML preview in a webview.
- Texinfo to HTML conversion is provided by GNU Texinfo.
Screenshots:
Requirements
- Visual Studio Code version >= 1.40.0. Legacy versions may also work.
- A latest version of GNU Texinfo.
Extension Settings
See File -> Preferences -> Settings -> Extensions -> Texinfo
for details. The settings are self-explanatory.
Notes
- If syntax highlighting is not satisfactory, try another color theme where keyword/operator colors are distinct (e.g. Solarized Light/Dark, Monokai).
- Preview content is updated on document save rather than document change.
- For macOS users: Preinstalled GNU Texinfo distribution is very old. Use a latest one instead. This can be easily done by
brew install texinfo
and change extension settingtexinfo.makeinfo
value.
Future Plans
- Implement Language Server Protocol for the Texinfo language, preferably by extending GNU Texinfo, to alleviate the limitations of the current implementaion.