Texinfo language support for Visual Studio Code. https://sv.nongnu.org/p/vscode-texinfo
Go to file
CismonX 3b34510feb
Major refactor.
2020-10-25 05:45:32 +08:00
assets Add icon. 2020-10-05 04:24:15 +08:00
scripts Misc update 2020-10-17 21:41:03 +08:00
src Major refactor. 2020-10-25 05:45:32 +08:00
.gitattributes Add icon. 2020-10-05 04:24:15 +08:00
.gitignore Misc update 2020-10-17 21:41:03 +08:00
.travis.yml Misc update 2020-10-17 21:41:03 +08:00
.vscodeignore Misc update 2020-10-17 21:41:03 +08:00
CHANGELOG.md Update comments 2020-10-19 01:31:43 +08:00
LICENSE initial commit 2020-10-04 02:04:18 +08:00
README.md Update 2020-10-24 23:50:20 +08:00
language-config.json Misc update 2020-10-17 21:41:03 +08:00
package-lock.json Update 2020-10-24 23:50:20 +08:00
package.json Update 2020-10-24 23:50:20 +08:00
tsconfig.json Major refactor. 2020-10-25 05:45:32 +08:00

README.md

vscode-texinfo

Build Status MIT License

Texinfo language support for Visual Studio Code.

Features

  • Syntax Highlighting
  • Code Completion
    • Completion for most @-commands.
    • Code snippets for block and brace commands.
  • Folding
    • Fold on nodes, block commands, headers and multiline comments.
    • Breadcrumb navigation of folding blocks.
  • 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 (e.g. Solarized Light/Dark, Monokai) where keyword/operator colors are distinct.
  • 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 setting texinfo.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.