confused-Techie
0c73a6cc84
Add 1.116.0 Changelog entries
2024-04-15 16:44:19 -07:00
Andrew Dupont
41d891582b
Merge pull request #968 from savetheclocktower/tree-sitter-april
...
Tree-sitter fixes (1.116 edition)
2024-04-14 13:19:42 -07:00
Andrew Dupont
5d6af88dd7
[language-python] Fix highlighting of some constructors
2024-04-11 20:39:26 -07:00
Andrew Dupont
03af1244d3
[language-python] Prevent type annotations from hinting at indents
2024-04-11 17:53:25 -07:00
Andrew Dupont
035595d1c2
Add TextEditor specs for new getCommentDelimitersForPosition
2024-04-06 16:36:13 -07:00
Andrew Dupont
b9ee65f6a3
Add extensive comment delimiter metadata to most built-in grammars
2024-04-06 13:00:55 -07:00
DeeDeeG
ace4180d9f
Merge pull request #957 from pulsar-edit/rework-windows-path-modification
...
[core] (Windows) Remove all `Machine` PATH handling, add safety mechanisms
2024-04-06 15:41:43 -04:00
Andrew Dupont
bf62b01757
[language-typescript] Fix scopes on type annotations…
...
…so they don’t also apply to namespaced TSX tags.
2024-04-05 10:05:33 -07:00
Andrew Dupont
93ed91716b
[language-typescript] Change scopes for template string punctuation…
...
…to match the names we use in JavaScript.
2024-04-04 17:20:20 -07:00
Andrew Dupont
cc42807574
[language-typescript] Add scope names to namespaced events…
...
…and a `meta` scope to every type annotation.
2024-04-04 17:18:18 -07:00
Andrew Dupont
27ee8b3edf
[language-gfm] Fix name of modern grammar for Markdown
2024-04-04 15:59:52 -07:00
Andrew Dupont
ca0b1d7bb1
[language-typescript] Improve highlighting of TSX fragments
2024-04-03 23:41:58 -07:00
Andrew Dupont
22b27afd32
[language-(java|type)script] Highlight wildcard export specifiers…
...
…like `export * from 'foo'`.
2024-04-03 23:32:48 -07:00
Andrew Dupont
9583449e57
[language-gfm] Replace the modern Tree-sitter GFM grammar…
...
…with one based on a better parser.
The `ikatyang` parser is great… until multi-byte input comes into play, or some other construct it doesn't understand. It doesn't have any way to recover when it hits those cases; it just throws exceptions, and WASM can't catch them.
The `MDeiml` parser for Markdown had one deal-breaking issue (https://github.com/tree-sitter-grammars/tree-sitter-markdown/issues/92 ), and once that got solved, it emerged as the clear victor.
Several people have been using this grammar as `language-markdown-alpha` on the repository, and none of them have encountered any problems of the sort they did with the `ikatyang` parser.
2024-04-03 23:16:25 -07:00
Andrew Dupont
a8fb526fa2
[language-bash] Fix injectionRegex
for bash grammar
2024-04-03 22:59:16 -07:00
confused-Techie
eda5443bda
Ensure script can launch, override path values on logging, add reboot warning
2024-03-25 16:58:06 -07:00
DeeDeeG
d3853eee34
changelog: Adjust/add changelog entry for PR 956
2024-03-22 20:16:06 -04:00
confused_techie
657026a11e
1.115.0 Changelog Entries
2024-03-22 07:22:08 -07:00
Andrew Dupont
15b3a49703
[language-hyperlink] Allow includeChildren
option…
...
…when defining hyperlink injection.
2024-03-21 16:02:51 -07:00
Andrew Dupont
4c5ef99281
[language-typescript] Add highlighting for regular expressions
...
(Apologies for this oversight.)
2024-03-21 16:01:32 -07:00
Maurício Szabo
ab2df0ebf1
Merge branch 'master' into tree-sitter-ruby-folds
2024-03-21 19:49:02 -03:00
Andrew Dupont
1481d392bd
Merge pull request #941 from savetheclocktower/tree-sitter-march
...
Tree-sitter rolling fixes: 1.115 edition
2024-03-19 18:56:08 -07:00
Andrew Dupont
6fe8e5377a
Address feedback
2024-03-19 18:55:31 -07:00
confused-Techie
90d71d0391
Remove all Machine
handling of path modification, ensure to safely modify path
2024-03-17 23:54:48 -07:00
Andrew Dupont
a294c88a47
[language-c] C/C++ highlighting fixes…
...
* GOTO labels
* Members like `foo.bar`
* Marking of constants in C++
2024-03-17 20:49:17 -07:00
Maurício Szabo
0e8a54fdaf
Symbol and string arrays folds for Ruby
2024-03-16 02:27:44 -03:00
Maurício Szabo
73e9543eb7
Fixed folds for Ruby
2024-03-16 02:15:06 -03:00
Andrew Dupont
175174e05c
[language-javascript] Remove stale TODO comment
2024-03-10 16:04:59 -07:00
Andrew Dupont
86cb072c54
[symbols-view] Ensure query field contents are initially selected…
...
…when `prefillSelectedText` is `true` and the editor has selected text when a `SelectListView` is opened.
2024-03-10 14:09:30 -07:00
Andrew Dupont
e030105820
[language-ruby] Enhancements for percent-array notation in Ruby
...
Fixes #945 .
2024-03-09 10:33:01 -08:00
Andrew Dupont
78deb79146
[language-c] Fix issue where the wrong node gets injected into…
...
…in a macro definition.
2024-03-09 10:14:39 -08:00
Andrew Dupont
95ca84a58a
[language-shellscript] Attempt to bump tree-sitter-bash
once again
2024-03-06 23:04:06 -08:00
Dominik Schachten
59bdc8d354
Fix fs.lstatSync throws Exception if no file or dir
...
If it throws the Exception, other valid uris such as atom://teletype/...
will not be evaluated in the else branch
The old fs-plus did not throw.
Newer versions of fs.lstatSync allow for option parameter to control if it throws.
2024-03-05 20:43:49 +01:00
Andrew Dupont
579cc2605b
[grammar-selector] Show a badge for all kinds of grammars…
...
…when `hideDuplicateTextMateGrammars` is `false`.
2024-03-03 21:42:18 -08:00
Andrew Dupont
e8d4e0b06d
[grammar-selector] Simplify fallback options…
...
…when the user's preferred type of grammar isn't available for a particular language.
2024-03-03 00:11:25 -08:00
Andrew Dupont
b9258b5884
[grammar-selector] Overhaul grammar display:
...
* When set to `true`, `hideDuplicateTextMateGrammars` will hide all grammars except whichever one the user has indicated a preference for — via `useTreeSitterParsers` and `useLegacyTreeSitter` settings, whether global or scope-specific.
* When set to `false`, `hideDuplicateTextMateGrammars` will show all grammars, even Legacy Tree-sitter.
2024-03-02 20:55:02 -08:00
Andrew Dupont
2827e6a4c4
[language-typescript] Add cts(x)
/mts(x)
to the file extensions lists
2024-03-01 15:43:49 -08:00
Andrew Dupont
0cea2667a8
[language-typescript] Highlighting fixes…
...
* Add scopes for unary arithmetic operators (`+`, `-`)
* Ensure that function parameters set `capture.final`
2024-02-17 22:19:44 -08:00
confused_techie
e2a1209502
Merge pull request #927 from pulsar-edit/1.114.0-changelog
...
1.114.0 Changelog
2024-02-15 19:57:50 -08:00
confused-Techie
02f6a45944
Add github summary change
2024-02-15 19:56:48 -08:00
confused-Techie
8052078d60
Manually add summary items
2024-02-15 18:34:36 -08:00
confused-Techie
299cc9c5ea
Removed Rolling Release notes
...
These don't make much sense for the summary section, as pointed out on Discord
2024-02-15 18:25:41 -08:00
confused-Techie
b1a2187fd3
Add Changelog entries for 1.114.0
2024-02-15 17:33:10 -08:00
Andrew Dupont
325b6b6b1e
[symbols-view] Remap go-to-declaration commands on Windows/Linux
2024-02-15 14:23:41 -08:00
Andrew Dupont
ec12b2f0af
Merge pull request #906 from savetheclocktower/tree-sitter-february
...
Tree-sitter rolling fixes (February)
2024-02-14 21:30:09 -08:00
Andrew Dupont
114a7247de
Merge pull request #861 from savetheclocktower/symbols-view-fixes
...
`symbols-view` rolling fixes
2024-02-14 21:29:31 -08:00
Andrew Dupont
82eac2276d
[language-typescript] Add syntax highlighting for enums
2024-02-09 22:33:48 -08:00
Andrew Dupont
89686ce03a
[language-html] Allow for folding of attribute lists…
...
…such as in multi-line self-closing tags and multi-line opening tags.
Also fix an issue in fold handling that made it impossible to use `@_IGNORE_` captures in `folds.scm`.
2024-02-09 14:20:34 -08:00
Andrew Dupont
cc20d7055d
[language-html] Fix indentation after self-closing tags
2024-02-09 09:51:41 -08:00
Andrew Dupont
7dbbd7afda
Update packages/command-palette/lib/command-palette-view.js
...
Co-authored-by: Maurício Szabo <mauricioszabo@users.noreply.github.com>
2024-02-09 09:17:25 -08:00