Jerome Lelong
65af9ac877
Make commands available for surrounding text
...
All commands in commands.json containing ${\d} or ${\d:.*} are proposed
in the surround function. The curly braces are mendatory!
This is related to #806 .
2018-09-18 15:38:25 +02:00
tecosaur
1c72d82663
Added snippet for Greek letters to detail.
...
Added snippet to detail for all applicable greek characters, and Greek letter detail to some.
2018-09-10 22:44:25 +08:00
Jerome Lelong
9131baf185
Add more amsmath environments to snippets
...
This closes #780 for now.
2018-09-09 08:24:49 +02:00
Jerome Lelong
e9571bd073
Fix double definition of the vec snippet.
...
This closes #778 .
2018-09-06 08:57:28 +02:00
Jerome Lelong
4b0db93a29
Add \vec to snippets
...
This closes #761 .
2018-08-29 16:14:18 +02:00
Jerome Lelong
d6b1d24064
Add more cite/ref snippets
...
parencite, textcite, cref, cpageref
It fixes the textcite issue mentionned in #744 .
2018-08-24 21:55:00 +02:00
Jerome Lelong
25db12c9f0
Automatically trigger intellisense after inserting a snippet
...
Some snippets require specific completions, such as \cite{} or \ref{}
for instance. To automatically trigger these completions after inserting
snippet, we use the 'command' mechanism of CompletionItem.
In practice, you just need to add
postAction: 'editor.action.triggerSuggest'
to every entry of data/commands.json, which need to trigger
intellisense.
This closes #744 .
2018-08-24 21:31:34 +02:00
Jerome Lelong
7c05467f50
Remove snippets placeholders default values
...
When the default value is not meaningful and does not give any hint on
the expected value, it is removed. This allows to directly type the
correct value or to trigger intellisense without deleting the default
value first.
2018-08-24 14:41:36 +02:00
haaristoteles
4eda63e107
fixed documentation for bigvee and bigwedge
2018-06-11 14:35:42 +02:00
Jerome Lelong
cfa2ad2165
For maths snippets, use $0 as the placeholder for the body part
...
This is related to #609 .
2018-05-10 07:20:55 +02:00
James-Yu
fe04d002d8
Fix #567 Add frame
completion in commands
2018-05-05 14:18:45 +08:00
James-Yu
3afcaf9ece
Fix #567 Remove frame
in environment hint
2018-05-05 14:14:44 +08:00
Joao C. Monteiro
b0ceb7ff68
Autocomplete for \left command
...
Signed-off-by: Joao C. Monteiro <jcmonteiro@poli.ufrj.br>
2018-05-04 16:02:34 -03:00
chantisnake
353f4152fb
fix comma
2018-04-24 11:54:34 -04:00
chantisnake
c9e570d6e4
add proof
environment
2018-04-24 11:53:03 -04:00
chantisnake
c3f1970819
fix comma
2018-04-24 11:52:21 -04:00
chantisnake
bc9aa22303
add more envronment
...
add `definition`, `example`, `lemma`, `corollary` environments
2018-04-24 11:47:13 -04:00
chantisnake
523e4ea3b7
add package
...
add package `tikz`
2018-04-24 11:42:48 -04:00
Jerome Lelong
942d634009
Prevent completion for \\
...
When hitting the secong backslash, the intellisense menu is cleared.
2018-04-23 14:01:04 +02:00
Jerome Lelong
d7ec648638
Complete \sqrt as \sqrt{x} using snippets
2018-04-12 08:20:04 +02:00
Hyman
76fd95ff66
Fix a typo in snippet for 'cline' command
2018-03-04 15:05:30 +11:00
James-Yu
e8fb24405f
Resolve #426 Provide \usepackage intellisense
2018-02-27 16:12:45 +08:00
Ole
9b1cd2115d
Added new datafile for packagenames
...
Package names and descriptions (with links to their corresponding CTAN page).
2018-02-23 15:01:58 +01:00
innerlee
56eea1f293
support \{ snippet
2017-11-24 14:19:47 +08:00
innerlee
35a50d3bb2
bring back newline
2017-11-21 14:06:01 +08:00
innerlee
e22aa0c860
add latex displaymath snippet
2017-11-20 23:59:23 +08:00
innerlee
cd78cf56b4
latex inline math completion
2017-11-20 22:30:09 +08:00
Zeng Xiangdong
94a4c22d9e
Update environments.json
...
Add `document`, `frame`, `columns` and `column` environments.
The last three ones are used in `beamer` class.
2017-09-04 19:21:46 +08:00
James-Yu
a7852086c0
Remove default parameter name for \ref, avoid unnecessary deletion
2017-07-28 14:17:52 +08:00
James-Yu
1d957b07e3
Fix #144 typo on multline environment
2017-05-23 10:36:37 +08:00
James-Yu
c6797e576f
Add package requirements to symbols, add script
2017-04-04 18:02:09 +08:00
James-Yu
c4d8c93494
( #82 ) Add uni-math symbols
2017-04-04 17:39:23 +08:00
James-Yu
f1c8e68429
Rearrange syntax files
2017-03-26 10:05:22 +08:00
James-Yu
61ea7ea2d1
Remove quote autoclosing
2017-02-16 13:19:43 +08:00
James-Yu
44d1e747ba
( #10 ) ENTER after backslash creates a new line
2017-02-06 08:52:08 +08:00
James-Yu
7c0f6d2a39
Add some curly brackets
2017-01-15 10:56:11 +08:00
James-Yu
7a70d58da6
Revamp auto-completion logic
2017-01-15 10:20:34 +08:00
James-Yu
826f653482
More colorization with tex textmate grammar
2017-01-06 15:12:35 +08:00
James-Yu
75f34b1e6b
Add textmate grammar files with license update
2017-01-05 14:26:00 +08:00
James-Yu
9d34f9b610
Fix ref bug, use snippet for \ commands.
2017-01-03 16:01:20 +08:00
James-Yu
70f37f5340
Add icon. Refractor a bit.
2017-01-01 16:08:40 +08:00
James-Yu
a6b20bc709
Version 0.1.0
2017-01-01 13:03:34 +08:00