Commit Graph

978 Commits

Author SHA1 Message Date
Takashi Tamura
c34cd42b87 rename 2018-10-09 23:20:53 +09:00
Takashi Tamura
be8d7173d4 match only for env supported by mathjax 2018-10-09 23:18:03 +09:00
Takashi Tamura
0c92c1892a fix coloring for each theme 2018-10-09 23:17:30 +09:00
Takashi Tamura
7223c76e41 add latex-workshop.hoverPreview.enabled and latex-workshop.hoverPreview.insertCursor 2018-10-09 21:15:19 +09:00
Takashi Tamura
e4fec6e307 make a function async 2018-10-09 21:14:18 +09:00
Takashi Tamura
e4be33d284 remove comment lines in math env 2018-10-09 18:20:42 +09:00
Takashi Tamura
0a1f3acc7f refactoring 2018-10-09 15:18:12 +09:00
Takashi Tamura
2aa0d69b1f change color for themes 2018-10-09 09:08:29 +09:00
Takashi Tamura
603794342c fix range of hover preview 2018-10-08 22:40:13 +09:00
Takashi Tamura
0a31a6011e add hover preview for inline math 2018-10-08 19:14:09 +09:00
Takashi Tamura
5bba9e37f7 add files 2018-10-08 14:55:34 +09:00
Jerome Lelong
f6c8e70db4 Document the surround feature
Related to #844.
2018-10-07 14:02:57 +02:00
Jerome Lelong
fada0cd4e7 Merge branch 'item' to reintroduce the insert-item-on-enter feature
A new configuration variable is added to enable or disable this feature
    latex-workshop.bind.enter.key
Default is to enable it.

This closes #847.
2018-10-07 13:51:30 +02:00
Jerome Lelong
b05c53768e Merge pull request #848 from viktorstrate/latex-utilities-merge
It implements tag toggle feature.
This closes #841.
2018-10-07 11:34:28 +02:00
Jerome Lelong
7fd0298d3e Refactor toggleSelectedKeyword 2018-10-07 11:33:12 +02:00
viktorstrate
9ede725eb1
Fix removing of tags with nested tags inside 2018-10-06 17:25:30 +02:00
viktorstrate
979d57bb93
Fix shortcut spelling change, after previous merge 2018-10-06 16:58:59 +02:00
viktorstrate
fdd0b3b71c
Merge remote-tracking branch 'root/master' into latex-utilities-merge 2018-10-06 16:57:19 +02:00
Jerome Lelong
c891f30978 Add variable to deactivate insert-item-on-enter
The variable latex-workshop.bind.enter.key  is introduced to enable the
 insert-item-on-enter feature.
2018-10-05 22:15:33 +02:00
James-Yu
c9ea83cfb9 Fix #849 Open PDF in the current column 2018-10-05 15:35:40 +08:00
James-Yu
1f4abfe747 Update changelog and version info 2018-10-05 14:46:30 +08:00
James-Yu
9ccc45d611 Resolve #849 Adopt Webview API of vscode to fix viewer-related issues 2018-10-05 14:45:14 +08:00
James-Yu
dee1b33176 Update version info 2018-10-05 14:12:22 +08:00
James-Yu
b8964637f6 Typo shorcut -> shortcut 2018-10-05 14:01:49 +08:00
James-Yu
bf53ebfe5d Fix #816 Ignore outputDir setting when directly viewing PDFs 2018-10-05 13:55:06 +08:00
viktorstrate
4b1d1a525d
Replace snippets with toggleSelectedKeyword
As discussed in James-Yu/LaTeX-Workshop#841
2018-10-04 16:39:39 +02:00
viktorstrate
9114cfc2f7
Update yarn.lock as it would not compile
The extension seems to run fine after the update.

Error log, from before updating yarn.lock

yarn install v1.10.1
[1/5] 🔍  Validating package.json...
warning latex-workshop@5.10.2: The engine "vscode" appears to be invalid.
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
error upath@1.0.4: The engine "node" is incompatible with this module. Expected version ">=4 <=9". Got "10.11.0"
error Found incompatible module
2018-10-04 16:13:08 +02:00
Jerome Lelong
367e30071c Fix newline issues with item-on-enter
This fixes #740 and 742
2018-10-04 16:11:30 +02:00
Jerome Lelong
4d2190efc3 Revert "Fix #742 Remove enter-to-insert-\item feature for now"
We try to reintroduce the enter-to-insert-\item feature.
2018-10-03 21:25:30 +02:00
Jerome Lelong
8a40cb30a5 Implement keybindings for snippets
This is a three steps process
    1. Define a new snippet in snippets/latex.json
    2. In src/main.ts, register a new command to insert the
    corresponding snippet
    3. In package.json, associate a keybinding to the command.

This closes #809.
2018-10-03 16:07:32 +02:00
Jerome Lelong
5359c55dba
Merge pull request #839 from tamuratak/fix_typo
fix typo.
2018-10-02 12:06:34 +02:00
Takashi Tamura
74a83e57a5 fix typo. 2018-10-02 17:34:12 +09:00
Jerome Lelong
795da2f4a1
Merge pull request #832 from tamuratak/fix_escape
skip any escaped character in finding balanced parens.
2018-09-30 21:58:39 +02:00
Jerome Lelong
5bcede621c
Merge pull request #833 from tecosaur/patch-1
Add documentation for the new keybindings.
This closes #809.
2018-09-30 21:57:21 +02:00
Jerome Lelong
1fe60a7eb4
Merge pull request #831 from tecosaur/tecosaur-modified
Add keybindings following the discussion in #809.
2018-09-30 21:55:44 +02:00
tecosaur
d0e8e2f0bb
Update Shortcuts-doc.md
Sure Emacs notation keybindings are ok, but I think this is better.
`ctrl+key` ⟶ <kbd>ctrl</kbd>+<kbd>key</kbd>
2018-09-30 21:02:08 +08:00
tecosaur
3e4e808ee2
Removed shortcuts that have been removed
Shortcuts were removed due to conflict with vs code
2018-09-30 20:35:32 +08:00
tecosaur
1f9e96fd9f
Remove conflicting keybindings
Specifically the ctrl+i, then also ctrl+b/u to be consistent.
2018-09-30 20:32:38 +08:00
tecosaur
fbe867da50
Update README.md
Add a link to shortcuts-doc.md, and add a clear link to snippets list
2018-09-30 14:16:52 +08:00
tecosaur
fbfdfa1280
Rename Shortcuts.md to Shortcuts-doc.md
In hindsight this would be a better name
2018-09-30 14:15:12 +08:00
tecosaur
47d142bfb0
Create Shortcuts.md
Since this seems a bit long for readme.md but still worth having, here it is as a separate file
2018-09-30 14:11:31 +08:00
tecosaur
7dc412ff9d
Add text super/sub script snippets, and fix underline & fontsize description 2018-09-30 13:46:03 +08:00
tecosaur
02caef0196
Add !editorReadonly and mac shortcuts to text format-y key bindings
As was suggested by @Astrantia I added !editorReadonly, and noticed that "mac": <keybinding> was a thing so added that too.
2018-09-30 00:16:01 +08:00
Takashi Tamura
042f2a6212 skip an escaped character in \section 2018-09-29 20:35:18 +09:00
tecosaur
183e731013
Add keybindings for text formatting snippets etc.
It would be good if anyone knew how to externalise the long list of keybindings...
2018-09-29 16:08:51 +08:00
tecosaur
f703fe5efa
Add textsuperscript and textsubscript snippets
Why? Mainly so I can reference them with keyboard shortcuts, also they're long to type. Not too sure about the current prefix though - any suggestions?
2018-09-29 16:07:11 +08:00
tecosaur
3e93f79750
Fix typo in undeline snippet 2018-09-29 16:06:28 +08:00
Jerome Lelong
2f12ac8913
Merge pull request #825 from tamuratak/label_in_math_env
highlighting \label in a math environment.
2018-09-27 08:28:51 +02:00
Jerome Lelong
8de85fd740
Merge pull request #826 from tecosaur/tecosaur-modified
Fix mathbf shortcut
2018-09-27 08:18:01 +02:00
tecosaur
bef868e9cc
Fix mathbf shortcut
Mathbf used to have `mathbb` as the snippet contents.
2018-09-27 10:47:00 +08:00