Commit graph

34 commits

Author SHA1 Message Date
Sandeep Somavarapu 1e0580ec23
Use categories for builtin extensions groups (#202453)
* support grouping of extensions

* remove grouping

* reuse categories parsing

* cleanup

* fix tests
2024-01-14 18:19:29 +01:00
Martin Aeschlimann 3eff2128ce
offside languages: changing ignoreTrimWhitespace default to false (#169555) 2022-12-20 10:09:56 +01:00
jannisspeer b2d7afc634
Remove Snakefile from being classified as Python (#162749)
Update package.json

Co-authored-by: Alex Ross <alros@microsoft.com>
2022-10-10 21:32:26 +02:00
Alex Dima 03ca148fd7
Fixes #143953: Remove no longer necessary extensionKind 2022-02-25 11:51:07 +01:00
Philipp Nagel e58932d492
Recognize .pyt files in Python extension (#133546) 2021-09-29 00:51:42 -07:00
Sandeep Somavarapu 961c2e353d
remove web extension kind in builtin extensions 2021-09-01 15:09:21 +02:00
Alex Ross 0f17001790 Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
João Moreno c3b556727e
fix update-grammars script 2021-02-02 12:30:08 +01:00
João Moreno ec805db5ed
add repository field to extensions package.json 2021-01-29 15:30:45 +01:00
João Moreno 9a5d14e307
run prettier over extensions json files 2021-01-29 15:19:18 +01:00
Alexandru Dima 2d5f7fd072
Move onEnterRules to language-configuration.json 2021-01-20 12:20:27 +01:00
Martin Aeschlimann 849acd83eb Treat SConstruct/SConscript files as python automatically. Fixes #105623 2020-09-08 14:33:06 +02:00
Alex Dima 2fa41fb23e
Add "web" as extensionKind to extensions which support this 2020-07-24 10:41:03 +02:00
Martin Aeschlimann 16be2c9885 used shared webpack-config for browser 2020-06-25 23:22:02 +02:00
Martin Aeschlimann 79b6605b4d serverless: add python basic extension 2020-06-12 18:10:21 +02:00
Alex Dima 697c7d5c43
Prefer running the built-in python extension on the UI side (fixes #88837) 2020-01-17 22:27:14 +01:00
Alex Ross a2c591f8ca Allow relative paths for python firstLine detection
Fixes #87214
2019-12-20 09:46:22 +01:00
Brett Cannon 64031a2360 Remove snakemake files from being classified as Python files (#76625)
They are not actually syntactically valid Python source.

Fixes #76624
2019-07-08 15:18:35 +02:00
Aurélien Pupier 7a5bca9faf Add License field to package.jsons #68423 (#68771)
it should avoid to have "warning XXX: No license field" during yarn
build

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2019-06-06 11:44:50 +02:00
Martin Aeschlimann afb0837035 Update Snakemake files types to include Snakefile to provide syntax detection. Fixes #73737 2019-05-27 12:40:04 +02: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
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
Martin Aeschlimann 8bd41ceeca built-in extensions: version to 1.0.0 (for #43978) 2018-02-27 15:16:07 +01:00
Martin Aeschlimann e45d279b36 description & name for built-in languages (#43978) 2018-02-20 10:09:22 +01:00
Don Jayamanne f4967722fa fixes #7688, fixes #2936, fixes #2867, fixes #2208 2016-08-22 08:51:53 +10:00
Martin Aeschlimann 01ea47c31e Merge pull request #9310 from DonJayamanne/pythonIndent
Auto indenting python code
2016-07-25 18:26:07 +02:00
Martin Aeschlimann 4a13944af6 Migrate all other languages to language-configuration.json 2016-07-21 20:30:37 +02:00
Don Jayamanne 57fa648285 support auto indentation in python #3754 2016-07-15 12:24:31 +10:00
Daniel Imms 5ab69e54c8 Disassociate .gn with python language
While Python worked well with GN in v0.10.3, since then the progress made with
the Python language syntax highlighting doesn't play well with the extra quirks
on top of Python that GN introduces (braces, no colons to indicate blocks).
Making it less usable than no language mode.
2015-12-22 09:47:58 -08:00
Daniel Imms a275306a4b Add .gn as a python file extension
GN is a meta-build system that generates NinjaBuild files. GN syntax is a stripped down version of python.
2015-12-03 08:39:41 -08:00
Martin Aeschlimann ef99de7936 Add source.regexp.python rules 2015-11-13 18:25:18 +01:00
Erich Gamma 8f35cc4768 Hello Code 2015-11-13 14:39:38 +01:00