Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (33 sloc) 1.22 KB

Hacking the Source Code

By `Lex Li`_

Build from source

  1. Clone the repo to a local path such as ~/vscode-restructuredtext .
  2. Navigate to this folder.
  3. Resolve NPM dependencies via npm install .
  4. Build via npm run compile .
  5. Configure Sphinx following :doc:`/articles/configuration` .
  6. Run VS Code from this folder via code . .
  7. In this editing VS Code instance, press F5 to start a debugging instance.
cd ~
git clone https://github.com/vscode-restructuredtext/vscode-restructuredtext.git
cd ~/vscode-restructuredtext
npm install
npm run compile
code .

Note

To configure the code command, please follow this guide .

Publish to Marketplace

To publish this extension, use vsce .

cd ~
git clone https://github.com/vscode-restructuredtext/vscode-restructuredtext.git
cd ~/vscode-restructuredtext
vsce publish

Related Resources