Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asciidoctor is run too often #25

Closed
maverickwoo opened this issue Aug 20, 2017 · 2 comments
Closed

asciidoctor is run too often #25

maverickwoo opened this issue Aug 20, 2017 · 2 comments

Comments

@maverickwoo
Copy link

It's great to see some asciidoctor support in VSCode!

I am using VSCode 1.15.1 with v0.3.5 of this plugin on OSX. It seems that asciidoctor is run on every keystroke on a temp file, and this behavior can easily overwhelm even a powerful computer when the cursor is on a rapid movement because every keystroke launches a new instance of asciidoctor.

Aside from not running asciidoctor on non-editing keys (i.e., not on cursor movements) and not running multiple instances of asciidoctor simultaneously, I wish to see options like:

  • run on save only
  • run on temp file like it is today, but no more frequently than say (a default of) 5 seconds

Thank you!

@joaompinto
Copy link
Contributor

This is fixed in the latest version, the extension only updates on save/update-timer, the check for updates timer can be changed in the settings, AsciiDoc.runInterval .

@hong-chan
Copy link

Seems AsciiDoc.runInterval is not working anymore in v2.3.3.
Please advise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants