vscode-texinfo/README.md

45 lines
1.8 KiB
Markdown
Raw Normal View History

2020-10-03 18:04:18 +00:00
# vscode-texinfo
2020-10-03 18:28:19 +00:00
[![Build Status](https://travis-ci.com/texinfo-lang/vscode-texinfo.svg)](https://travis-ci.com/github/texinfo-lang/vscode-texinfo)
2020-10-04 12:40:54 +00:00
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
2020-10-03 18:28:19 +00:00
2020-10-03 18:04:18 +00:00
Texinfo language support for Visual Studio Code.
## Features
2020-10-15 18:43:07 +00:00
* **Syntax Highlighting**
* Provided by the same [TextMate grammar](https://github.com/Alhadis/language-texinfo/blob/v1.0.0/grammars/texinfo.cson) as [used in GitHub](https://github.com/github/linguist/pull/4589).
* **Code Completion**
* Completion for most @\-commands.
2020-10-22 22:40:41 +00:00
* Code snippets for block and brace commands.
2020-10-15 18:43:07 +00:00
* **Folding**
* Fold on nodes, block commands, headers and multiline comments.
* Breadcrumb navigation of folding blocks.
2020-10-15 18:43:07 +00:00
* **Preview**
* Display HTML preview in a webview.
2020-10-22 22:40:41 +00:00
* Texinfo to HTML conversion is provided by [GNU Texinfo](https://www.gnu.org/software/texinfo).
<details>
2020-10-15 18:43:07 +00:00
<summary>Screenshots:</summary>
</details>
2020-10-03 18:04:18 +00:00
## Requirements
2020-10-15 18:43:07 +00:00
* Visual Studio Code version >= 1.40.0. Legacy versions may also work.
* A latest version of GNU Texinfo.
2020-10-03 18:04:18 +00:00
## Extension Settings
See `File -> Preferences -> Settings -> Extensions -> Texinfo` for details. The settings are self-explanatory.
## Notes
2020-10-15 18:43:07 +00:00
* 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.
2020-10-15 20:16:13 +00:00
* 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.
2020-10-15 18:43:07 +00:00
## Future Plans
2020-10-22 22:40:41 +00:00
* Implement [Language Server Protocol](https://microsoft.github.io/language-server-protocol) for the Texinfo language, preferably by extending GNU Texinfo, to alleviate the limitations of the current implementaion.