Texinfo language support for Visual Studio Code. https://sv.gnu.org/p/vscode-texinfo
Go to file
CismonX 5f7c15b309
continuous-integration/drone/push Build is passing Details
Relicense project to GPL.
2021-03-16 20:01:13 +08:00
assets Stop using Git LFS. 2021-01-24 04:27:41 +08:00
scripts Relicense project to GPL. 2021-03-16 20:01:13 +08:00
src Relicense project to GPL. 2021-03-16 20:01:13 +08:00
.drone.yml Relicense project to GPL. 2021-03-16 20:01:13 +08:00
.gitignore Relicense project to GPL. 2021-03-16 20:01:13 +08:00
.vscodeignore Relicense project to GPL. 2021-03-16 20:01:13 +08:00
CHANGELOG.md Relicense project to GPL. 2021-03-16 20:01:13 +08:00
LICENSE Relicense project to GPL. 2021-03-16 20:01:13 +08:00
README.md Relicense project to GPL. 2021-03-16 20:01:13 +08:00
language-configuration.json Do not use json with comments. 2021-03-16 20:00:12 +08:00
package-lock.json Update dependencies. 2021-03-15 15:44:27 +08:00
package.json Update dependencies. 2021-03-15 15:44:27 +08:00
tsconfig.json Do not use json with comments. 2021-03-16 20:00:12 +08:00
webpack.config.ts Relicense project to GPL. 2021-03-16 20:01:13 +08:00

README.md

vscode-texinfo

Build Status MIT License

Texinfo language support for Visual Studio Code.

Features

  • Syntax Highlighting
  • Code Completion
    • Completion and code snippets for most @-commands.
  • Preview
    • Display HTML preview in a webview.
    • Support loading custom CSS for preview.
    • Texinfo to HTML conversion is provided by GNU Texinfo.
  • Folding
    • Fold on nodes, block commands and multiline comments.
    • Breadcrumb navigation of folding blocks.
  • Diagnostics
    • Show diagnostic information in editor based on error and warning messages generated by GNU Texinfo.
Screenshots:

Display preview: preview

Code completion: completion

Breadcrumb navigation: navigation

Folding: folding

Diagnostics: diagnostics

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, as Texinfo documents tend to be rather large, and incremental conversion is not yet supported.
  • 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.

Contributing

Send an email to bug-report@cismon.net to report bugs or submit patches.

Future Plans

  • Implement Language Server Protocol for the Texinfo language, preferably by extending GNU Texinfo, to alleviate the limitations of the current implementaion.