Commit graph

73 commits

Author SHA1 Message Date
Alex Ross
9c00167f2e Update grammars 2019-04-05 12:51:44 +00:00
Martin Aeschlimann
c10ea17d96 Syntax highlighting and check for .ipy files. Fixes #69694 2019-03-04 09:31:27 +01:00
Martin Aeschlimann
85119f3faf Language features not supported for ".pyi" python type files. Fixes #66652 2019-01-28 22:59:54 +01:00
Alex Ross
6c6cd0aab4 Update grammars 2018-12-12 17:25:07 +01:00
isidor
9edd984da8 delete OSSREADME.json 2018-11-20 12:54:22 +01:00
isidor
2ba92aa3e8 add commitHash to cgmanifest 2018-11-15 17:43:46 +01:00
isidor
347fb6347b add all cgmanifests. Still no commitHash 2018-11-14 18:18:25 +01:00
Alex Ross
fd8d4b09e1 Update grammars 2018-10-23 16:13:27 +02:00
Martin Aeschlimann
10a1d2a50a update grammars 2018-10-04 12:00:39 +02:00
Matt Bierner
92a9a07213 Remove duplicate blank lines at the start of some extension src files 2018-10-02 16:28:19 -07:00
Matt Bierner
ff957050db Remove use strict in extensions (part 2)
We compile using alwaysStrict so this directive is not needed
2018-10-02 16:23:27 -07:00
Matt Bierner
52d3961c2b Update more extensions to use shared config 2018-10-02 10:24:19 -07:00
Alex Dima
34e7a220c8 Avoid shipping unnecessary files 2018-09-19 19:53:46 +02:00
Martin Aeschlimann
72509c5625 VSCode hangs when opening python file. Fixes #56377 2018-08-15 18:43:17 +02:00
Martin Aeschlimann
c640a0ed5c adopt color changes in colorizer tests 2018-07-27 11:02:03 +02:00
Martin Aeschlimann
74c270e887 update grammars 2018-07-23 20:34:08 +02:00
Martin Aeschlimann
d34d9735cc [python] non-file extension filetype detection. Fixes #52519 2018-06-21 10:24:50 +02:00
Martin Aeschlimann
3cf704d2b8 Add syntax support to Snakemake. Fixes #50978 2018-06-06 17:11:00 +02:00
Brett Cannon
2f581e8986
Allow a space between # and region for folding in Python
Automatic formatting inserts a space between the comment marker `#` and text in the Python extension, so without the allowance for whitespace then `"editor.formatOnType": true` breaks all region markers.

Closes Microsoft/vscode-python#1073 and Microsoft/vscode-python#33
2018-03-28 15:34:56 -07:00
Martin Aeschlimann
9ee425cebd Auto-closing backticks in Python. Fixes #41615 2018-03-02 09:45:46 +01:00
Greg Van Liew
b3a1b98d54 Edit pass on built-in extension descriptions (#44875) 2018-03-01 16:43:06 -08:00
Ramya Achutha Rao
15d0e9b30b Remove and other language features from description of basic builtin extensions #44626 2018-02-27 18:15:50 -08:00
Martin Aeschlimann
8bd41ceeca built-in extensions: version to 1.0.0 (for #43978) 2018-02-27 15:16:07 +01:00
Martin Aeschlimann
292a290e3f Rename built-in syntax and snippet extensions to "Language Basics". Fixes #44241 2018-02-26 21:27:22 +01:00
Martin Aeschlimann
033d21d196 Change python block comment to """. Fixes #42767 2018-02-26 21:23:19 +01:00
Martin Aeschlimann
e45d279b36 description & name for built-in languages (#43978) 2018-02-20 10:09:22 +01:00
Martin Aeschlimann
8fdf170a08 update grammar script: remove unused properties 2018-02-12 16:54:46 +01:00
Martin Aeschlimann
d4d3d407ea
Merge pull request #35636 from Syeberman/python_auto_closing_string_prefix
Support auto-closing quotes in Python raw string literals, etc
2017-11-30 12:25:16 +01:00
Matt Bierner
7cba0cd7ee Move python extension to strict 2017-11-06 14:26:08 -08:00
Matt Bierner
813235c7f7 Move python extension to strict 2017-11-06 14:24:20 -08:00
Martin Aeschlimann
cf70385df5 Folding regions broken 2017-10-12 16:55:15 +02:00
Martin Aeschlimann
1fb361861f [folding] add work boundries to folding markers 2017-10-11 17:28:10 +02:00
lizz
335bce9302 fix indentation 2017-10-08 22:00:44 +08:00
lizz
f5c051e611 Region fold in python
using `#region` and `#endregion`
2017-10-08 21:08:48 +08:00
Sye van der Veen
f5143a99e0 Support auto-closing quotes in Python raw string literals, etc
Python uses a ["string prefix"](https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals) to denote bytes literals (`b''`), raw strings (`r''`), and formatted string literals (`f''`).  This change makes it so that when one types `r'` in VS Code, the string will be auto-closed as `r''` (as an example).

Python also supports multiple string prefixes for a single literal.  I've tested that typing `fr'` will auto-close to `fr''`, and so forth.
2017-10-05 14:43:46 -04:00
Martin Aeschlimann
a678f60100 FoldingRules language configuration simplification 2017-09-22 13:50:03 +02:00
Martin Aeschlimann
de68414a9a [folding] should not fold whitespace after function. Fixes #3353 2017-09-20 11:09:42 +02:00
isidor
efdc328058 ${workspaceRoot} -> ${workspaceFolder} 2017-09-19 11:21:49 +02:00
Matt Bierner
845fa13b41 Tweak colorization of regexp for light+ and dark+ 2017-09-14 14:45:35 -07:00
Matt Bierner
43cb3b41ac Continue tweaking default dark and light colorization for escape characters and regular expressions 2017-09-13 10:40:07 -07:00
Matt Bierner
3864be5b8e Add rules for regex groups to vs dark+ and light+ themes 2017-09-12 11:52:25 -07:00
Martin Aeschlimann
64fd8f8720 [python] update grammar 2017-08-17 16:22:35 +02:00
Martin Aeschlimann
7790c4a753 update grammars 2017-07-18 10:09:48 +08:00
Joao Moreno
5667cc0e69 use vsce to determine what to package when bundling extensions
fixes #29054
2017-06-21 16:17:21 +02:00
Martin Aeschlimann
f9084bb244 Add information_for_contributors to grammars 2017-05-26 09:27:51 +02:00
Martin Aeschlimann
ae333a8b41 test fixes for #17178 2017-05-18 10:50:30 +02:00
Matt Bierner
7d2dea4e45 Add "Include" to extension TSConfig Files (#25860)
**Bug**
Most VSCode extensions currently specify `"exclude"` in their `tsconfig.json` but not `"include"`. This may result in extra files being included in each project

**Fix**
Add  `"include": ["src/**/*"]` to all extension tsconfig files
2017-05-05 11:37:59 -07:00
Martin Aeschlimann
df3c4151a8 Python file key words highlight. Fixes #24664 2017-04-19 19:38:44 +02:00
Martin Aeschlimann
07d57c55e8 [python] update grammar 2017-04-19 19:38:43 +02:00
Matt Bierner
7c633148b3 Remove unneeded d.ts files from extensions (#19653)
* Remove unneeded d.ts files from extensions

Moves most extensions to use the lib files for the standard library that typescript provides.

* Remove a few more node.d.ts references
2017-02-01 12:34:50 -08:00