Commit Graph

1572 Commits

Author SHA1 Message Date
Andrew Dupont
3a4b2dc039 Handle nowdocs in PHP 2024-01-11 15:07:08 -08:00
Andrew Dupont
1dc1536621 Remove logging from injection callback 2024-01-11 15:07:08 -08:00
Andrew Dupont
00de52c859 Add parserSource fields where appropriate 2024-01-11 15:07:07 -08:00
Andrew Dupont
d6f8a3c43f Add a modern Tree-sitter PHP grammar
This one’s got all the frills, including injections into HTML documents and a PHPDoc grammar.

As part of this change, we're also migrating to `web-tree-sitter` version 0.20.8 with some customizations. The PR I submitted at https://github.com/tree-sitter/tree-sitter/pull/2795 is landed on this fork, though if the same issues get fixed in a different way on the source, I'll adopt that approach as well. The PHPDoc parser needed another external added.
2024-01-11 15:07:07 -08:00
Andrew Dupont
ee54d3727c [tree-sitter] Highlight TypeScript infer clauses properly 2024-01-11 15:07:07 -08:00
Andrew Dupont
294134c544 [tree-sitter] Highlight private fields similarly to other JS properties 2024-01-11 15:07:07 -08:00
Andrew Dupont
66aea45ffe [tree-sitter] Fixes for shell script highlighting 2024-01-11 15:07:07 -08:00
Andrew Dupont
7b4a50d2b5 (oops) 2024-01-11 15:07:07 -08:00
Andrew Dupont
bc55c4fce3 [tree-sitter] Further JSX indent fixes for JS and TS alike 2024-01-11 15:07:07 -08:00
Andrew Dupont
da10036251 [tree-sitter] Fix JSX dedent logic 2024-01-11 15:07:07 -08:00
Andrew Dupont
f6bb61f984 [tree-sitter] Highlight assertion function clauses in TypeScript 2024-01-11 15:07:07 -08:00
Andrew Dupont
be37b26df5 [tree-sitter] Don't highlight JS default param values like parameters 2024-01-11 15:07:07 -08:00
Andrew Dupont
fdc70fc4a5 [tree-sitter] Highlight an obscure inheritance construct properly in C++ 2024-01-11 15:07:07 -08:00
Andrew Dupont
037377a6b7 [tree-sitter] Ruby fixes…
* Show `def self.foo` methods as `self.foo` in the symbols list.
* Highlight the `foo` in `def self.foo` as a method name.
* Properly highlight `..` and `...` range operators.
* Highlight keyword parameters as `variable.parameter.keyword`.
2024-01-11 15:07:07 -08:00
Andrew Dupont
818d204716 [tree-sitter] Add the pipe character (|) as an operator 2024-01-11 15:07:07 -08:00
Andrew Dupont
daf063750e Do the same for the modern Tree-sitter grammar 2024-01-11 15:07:06 -08:00
Andrew Dupont
a1e9fa0aa8 [tree-sitter] Make the shell grammar's file types match the TM grammar's 2024-01-11 15:07:06 -08:00
Andrew Dupont
a8f5b17d31 [tree-sitter] Fold on type objects in TypeScript 2024-01-11 15:07:06 -08:00
Andrew Dupont
f283a34dd0 Address feedback 2024-01-11 13:49:28 -08:00
Andrew Dupont
58f76a8378 Address feedback 2024-01-10 20:47:51 -08:00
Andrew Dupont
c2e10f4da1
Address feedback
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2024-01-09 20:42:35 -08:00
Andrew Dupont
d6d7572079 Rearrange string/punctuation declaratons for HTML 2024-01-09 14:57:07 -08:00
Andrew Dupont
4f6c31896c Attempt to get integration tests passing 2024-01-09 14:15:54 -08:00
Andrew Dupont
617bd21f41 Rename JS regexp grammar for consistency…
…plus a couple other related fixes.
2024-01-07 15:35:08 -08:00
Andrew Dupont
413eeeaa5b Fix memory access error on autocomplete-html specs 2024-01-07 15:35:08 -08:00
Andrew Dupont
324af65491 Get language-yaml specs passing 2024-01-07 15:35:07 -08:00
Andrew Dupont
1b129ac935 Get language-gfm specs passing 2024-01-07 15:35:07 -08:00
Andrew Dupont
28c39165f3 Get spell-check specs passing 2024-01-07 15:35:07 -08:00
Andrew Dupont
b46fe68ae2 Get link specs passing 2024-01-07 15:35:07 -08:00
Andrew Dupont
e71e56bdad Get bracket-matcher specs passing 2024-01-07 15:35:07 -08:00
Andrew Dupont
a12e75b8c1 Get autocomplete-html specs passing in modern Tree-sitter mode 2024-01-07 15:35:07 -08:00
Andrew Dupont
2dfa4fd792 Enable legacy flag for autocomplete-html tests…
…but also these specs need to be rewritten!
2024-01-07 15:35:07 -08:00
Andrew Dupont
a6b5f23b26 Get the grammar-selector tests passing…
…including a lot more tests for the new `useLegacyTreeSitter` setting.
2024-01-07 15:35:07 -08:00
Andrew Dupont
76ac2cf81c Make useExperimentalModernTreeSitter the default…
…and create `useLegacyTreeSitter` for those who want to opt into the previous default behavior.

(Legacy Tree-sitter grammars will soon be removed, but this is a step toward that future!)
2024-01-07 15:35:07 -08:00
Andrew Dupont
227ac4a147 Rename symbols-view keymap file 2024-01-03 11:27:29 -08:00
Andrew Dupont
ecc9180caf Wait longer when running symbols-view spec 2024-01-03 11:13:43 -08:00
Andrew Dupont
eb56712358 Fix type definition 2024-01-03 11:07:35 -08:00
Andrew Dupont
ee86a18b12 Strip line breaks and other spaces from symbol names 2024-01-03 10:26:17 -08:00
Andrew Dupont
83972a9ef9 Don't activate a new pane when it's created (steals focus) 2024-01-03 10:26:17 -08:00
Andrew Dupont
6a5a840b57 Add an await where appropriate 2024-01-03 10:26:17 -08:00
Andrew Dupont
812ab75acf Update specs 2024-01-03 10:26:17 -08:00
Andrew Dupont
66b5022fb0 Update specs 2024-01-03 10:26:17 -08:00
Andrew Dupont
21095ee94f Wrongly focused test 2024-01-03 10:26:17 -08:00
Andrew Dupont
66f03932fe Prefer an IDE package provider (if one is installed) over Tree-sitter 2024-01-03 10:26:17 -08:00
Andrew Dupont
d48e191024 Fix setting name 2024-01-03 10:26:17 -08:00
Andrew Dupont
5514c982bd Add symbol provider packages 2024-01-03 10:26:17 -08:00
Andrew Dupont
8ba70fba27 First attempted import of symbols-view 2024-01-03 10:26:17 -08:00
Andrew Dupont
5dc12bde9b Opt into emoji in markdown-preview package 2023-12-30 18:49:52 -08:00
Andrew Dupont
3dc198aca7 [find-and-replace] Fix capitalize utility 2023-12-29 14:32:11 -08:00
DeeDeeG
0b4135007b changelog: Update changelog entry for first ppm bug fix 2023-12-18 20:38:48 -05:00
confused_techie
508d1a28c4 Add changelog updates 2023-12-18 08:57:01 -08:00
confused_techie
32ff14f732
Merge pull request #835 from pulsar-edit/1.112.0-changelog
Add `1.112.0` changelog
2023-12-15 20:16:51 -08:00
confused-Techie
37a3f4f19a Add all last minute additions 2023-12-15 20:09:36 -08:00
confused_techie
e77db3e57c
Update packages/welcome/lib/changelog-view.js
Co-authored-by: Daeraxa <58074586+Daeraxa@users.noreply.github.com>
2023-12-15 19:55:19 -08:00
confused_techie
4a52c3a81d
Update packages/welcome/lib/changelog-view.js
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2023-12-15 19:54:39 -08:00
Andrew Dupont
6cae381cc7 [tree-sitter] Fix Clojure tests 2023-12-15 19:09:53 -08:00
confused-Techie
0d68dec40a Add 1.112.0 changelog notes 2023-12-15 16:47:04 -08:00
Maurício Szabo
f3b9bd8604
Merge pull request #774 from pulsar-edit/filtering-api 2023-12-13 00:01:57 -03:00
Andrew Dupont
2ebf7d514c [tree-sitter] (oops) 2023-12-12 15:41:45 -08:00
Andrew Dupont
aca923ac78 [tree-sitter] Add highlighting of complex destructuring props in JS 2023-12-12 14:47:45 -08:00
Andrew Dupont
a00239c24c [tree-sitter] Highlight more builtins in TypeScript files 2023-12-12 14:46:50 -08:00
Andrew Dupont
ce6bce07a2 [tree-sitter] Typescript files should detect foo = () =>-style fns 2023-12-12 14:46:12 -08:00
Andrew Dupont
aad4dfcbd2 [tree-sitter] Tweak some CSS queries 2023-12-08 00:52:15 -08:00
Andrew Dupont
3ab0c39f24 [tree-sitter] Add firstLineRegex to C grammars 2023-12-07 11:12:15 -08:00
Andrew Dupont
2430f2b85a Improvements to the TextMate Makefile grammar
Treat `${}` identically to `$()`. Too trivial of a change for its own PR.
2023-12-05 23:47:49 -08:00
Andrew Dupont
fd9229b4a2 [tree-sitter] Fix folding behavior in JS if/else blocks 2023-11-29 13:00:51 -08:00
Andrew Dupont
c50dfafff7 [tree-sitter] Tweak CSS highlighting 2023-11-29 13:00:12 -08:00
Andrew Dupont
d7e81a179e [tree-sitter] Inject HTML highlighting into table cells…
…in addition to paragraphs.
2023-11-29 12:58:16 -08:00
Andrew Dupont
a293ff95cf [tree-sitter] Several fixes to Python highlighting
* Destructured variable assignments are now scoped as `variable`
* Namespaced decorators are now highlighted properly
2023-11-29 12:57:20 -08:00
Maurício Szabo
4264de019b Making fuzzy-finder use the right algorithm 2023-11-23 19:38:44 -03:00
DeeDeeG
fbd2b24550
Merge pull request #780 from Trigan2025/master
Ability to indicate when to automatically show or hide the wrap-guide
2023-11-16 16:31:21 -05:00
confused-Techie
c3f2671dc1 Sync changes to welcome package 2023-11-15 20:12:48 -08:00
confused-Techie
bbeb19e208 More grammar 2023-11-15 18:52:41 -08:00
confused-Techie
7cb83593d8 Fix grammar 2023-11-15 18:50:36 -08:00
confused-Techie
ed8bdd26ed Add v1.111.0 changelog 2023-11-15 17:23:31 -08:00
Trigan2025
e2be9adcb6 Reformulating options. 2023-11-14 14:55:34 +01:00
Andrew Dupont
3757358c55
Merge pull request #789 from savetheclocktower/tree-sitter-october-fixes-redux
Tree-sitter running fixes (October)
2023-11-14 01:17:45 -08:00
confused_techie
39391c105f
Merge pull request #763 from pulsar-edit/ui-api
[core] New `UI` API
2023-11-08 20:47:59 -08:00
Maurício Szabo
16b72dcf0b Merge remote-tracking branch 'origin/master' into clojure-grammar-enhancements 2023-11-08 12:20:09 -03:00
Maurício Szabo
db1ec1083b Merge remote-tracking branch 'origin/master' into filtering-api 2023-11-07 16:55:46 -03:00
DeeDeeG
be8bd838c8
Merge pull request #796 from Daeraxa/readme-non-mac-keybinds
[DOCS] Add non-macOS keybindings for fuzzy-finder readme
2023-11-07 11:30:50 -05:00
Maurício Szabo
a987468cfa Merge remote-tracking branch 'origin/ui-api' into filtering-api 2023-11-07 12:12:24 -03:00
confused-Techie
011ddf9c84 Merge branch 'master' into ui-api 2023-11-06 19:39:03 -08:00
Daeraxa
8058821dfd
revert changes to description 2023-11-07 02:42:34 +00:00
Daeraxa
c5853a63a4
add non-macOS keybindings 2023-11-07 02:39:35 +00:00
Daeraxa
025c1b1b11 remove teletype from welcome 2023-11-07 00:09:00 +00:00
Andrew Dupont
193a3dc3e7 [tree-sitter] Tweak C++ highlighting of class function declarations 2023-11-03 22:01:56 -07:00
Andrew Dupont
e2acf70e43 [tree-sitter] Add highlights for C++ destructors…
…and for the `class` keyword, whose omission is a strange oversight.
2023-10-31 13:27:43 -07:00
Andrew Dupont
80126cdbc8 [tree-sitter] More C++ fixes
Built a new `tree-sitter-cpp` parser from latest master to fix a parsing error with variable assignment. Also added/tweaked scopes for some specific scenarios.
2023-10-30 14:46:51 -07:00
Andrew Dupont
f9232482d0 [tree-sitter] Add some scopes to the C++ highlights.scm 2023-10-28 10:17:40 -07:00
confused-Techie
134fb452b4 Stop appending /blob/master to repo URLs
1. `master` isn't always true. We can use `HEAD` now and GitHub will automatically redirect to the main branch.
2. We already have the logic inside our markdown to correct links to use `blob` or `raw` depending on if directing to a link or image, and use `HEAD` like mentioned above
2023-10-27 15:52:02 -07:00
confused-Techie
45c016120b Expect HTML5 preferred <br> instead of <br/>
Most browsers already strip self closing tags within void elements. DOMPurify itself also strips this character.
2023-10-27 15:50:05 -07:00
confused-Techie
cbaa3ad10e Allow sanitizing options, ensure links don't double on /, don't modify base64 links, make test results match universal GitHub links 2023-10-27 01:42:39 -07:00
confused-Techie
8328f9c1ad Modify one spec to different element, fix opts on API usage 2023-10-26 22:52:50 -07:00
Koza
dbf8e11786 🐛 Fix caching for "Dismiss this Version" in pulsar-updater 2023-10-23 11:25:12 +02:00
Trigan2025
47df021e50 revert 'scopeSelector: getRootScopeDescriptor()' to '' 2023-10-23 03:33:15 +02:00
Trigan2025
a6a513c4ca Change the default value of the new settings for "always" 2023-10-22 23:52:35 +02:00
Trigan2025
68843f3c6d Fix of the spec *and rollback of a useless change* 2023-10-21 13:19:43 +02:00
confused-Techie
30e07939b9 Compact disable settings 2023-10-20 18:02:31 -07:00
Trigan2025
05ec5a7c26 Add a setting option to specify when to automatically show or hide the wrap-guide 2023-10-21 01:07:58 +02:00
Dan Bornstein
f5162b4653
Update packages/language-shellscript/grammars/tree-sitter/highlights.scm
Co-authored-by: Andrew Dupont <andrew@andrewdupont.net>
2023-10-19 15:09:48 -07:00
confused-Techie
d72cf655d2 Migrate settings-view 2023-10-18 23:55:02 -07:00
confused-Techie
c20005be9b Migrate autocomplete-plus 2023-10-18 21:50:07 -07:00
confused-Techie
06334cbf42 Migrate deprecation-cop 2023-10-18 21:46:02 -07:00
confused-Techie
e64e0a4a02 Include markdown-preview line break settings 2023-10-18 21:44:51 -07:00
confused-Techie
ccd65afe77 Handle local links in link resolving, implement all features into markdown-preview 2023-10-18 21:41:44 -07:00
confused-Techie
0211bf50e8 Fix SyntaxHighlighting, and converting to dom, give markdown-preview a choice 2023-10-18 17:41:24 -07:00
Dan Bornstein
d5249e4678 Add punctuation matching for '...' strings. 2023-10-18 12:15:36 -07:00
Dan Bornstein
7189edca8e Add punctuation matching for $'...' strings. 2023-10-18 12:14:28 -07:00
confused-Techie
e7c14be227 Migrate notifications to new API 2023-10-18 12:00:23 -07:00
Dan Bornstein
b906f01e0d Add scope definition for ansi_c_string in the modern tree-sitter setup.
This is how `tree-sitter-bash` marks `$'...'` strings.
2023-10-18 11:26:49 -07:00
Maurício Szabo
de63718aa8 Moving fuzzyMatcher on settings-view 2023-10-17 01:34:26 -03:00
Maurício Szabo
5bc996a4fc Fixed some suggestion elements from Autocomplete 2023-10-17 01:30:54 -03:00
Maurício Szabo
3917ba411b Fixed command-palette highlighting 2023-10-17 01:30:36 -03:00
Maurício Szabo
14659d6323 Removed deps from command-palette 2023-10-17 00:21:08 -03:00
Maurício Szabo
ef0f36c22e Moved fuzzy finding from command-palette 2023-10-17 00:21:01 -03:00
Maurício Szabo
140ef153ba Removed unused param 2023-10-17 00:20:37 -03:00
Maurício Szabo
2f9939db94 Moved fuzzy-finder matching from autocomplete-plus 2023-10-17 00:20:13 -03:00
Maurício Szabo
90e792ad01 Using pulsar's fuzzyMatcher API in fuzzy-finder 2023-10-17 00:06:31 -03:00
confused_techie
8625b7755b
Merge pull request #754 from pulsar-edit/wrap-guide/configurable-scope-settings-sync
[wrap-guide] Make the automatic modification of `editor.preferredLineLength` configurable
2023-10-15 21:29:04 -07:00
confused_techie
083069d909
Merge pull request #764 from pulsar-edit/changelog-updates
Changelog update for `v1.110.0`
2023-10-15 17:31:33 -07:00
confused-Techie
54474594d1 Add decaf note, fix spelling error 2023-10-15 17:15:28 -07:00
confused_techie
8debfda6f8
Update packages/welcome/lib/changelog-view.js
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2023-10-15 17:13:43 -07:00
confused_techie
34a5c5b7c1
Merge pull request #762 from pulsar-edit/fix-autocomplete-v5
Fixed filtering of suggestions with ranges
2023-10-15 12:55:08 -07:00
Andrew Dupont
418b6f0e5b
Merge pull request #735 from savetheclocktower/tree-sitter-september-fixes
Tree-sitter running fixes for September
2023-10-15 12:44:19 -07:00
Andrew Dupont
728eecbe84 Add parserSource field to bash grammar 2023-10-15 12:41:34 -07:00
confused-Techie
8a807788ba Add changelog updates 2023-10-15 12:20:13 -07:00
Maurício Szabo
4995c7a1e6 Fixed filtering of suggestions with ranges 2023-10-13 22:27:44 -03:00
Spiker985
7d0a429fcc
Add escapement to variable literals within snippets
| Name | prefix |
| $GLOBALS[\'…\'] | globals |
| function __construct | con |
| do … while … | do |
| $this->… | this |
| echo $this->… | ethis |
| try … | try |
2023-10-11 14:14:04 -04:00
confused-Techie
837ca15efc Add test case for this change 2023-10-09 17:00:54 -07:00
confused-Techie
328488d80b Add and respect config modifyPreferredLineLength 2023-10-08 11:57:46 -07:00
confused-Techie
a842fe4019 Wrap autocomplete-html completions in try/catch
Co-Authored-By: Andrew Dupont <3450+savetheclocktower@users.noreply.github.com>
2023-10-07 19:25:22 -07:00
Andrew Dupont
0b86be410c [language-c] Change scope names on C/C++ types
On some default themes, scoping types as `storage.type` rather than `support.type` makes them the same color as lots of other things. Both the TM grammar and the legacy TS grammar scope them as `support.storage.type` — which isn't a thing — but `support.type` is a fine compromise.
2023-09-25 18:04:13 -07:00
Andrew Dupont
87d262ea4e Update tree-sitter-bash WASM parser
I think the previous WASM file was built from 0.19.0, but much has been fixed since then.

This change required a new export (`isalpha`) and therefore a rebuild of the WASM Tree-sitter bindings themselves.
2023-09-22 16:22:06 -07:00
Maurício Szabo
09ee95b986 Fixed injection issue 2023-09-21 18:07:33 -03:00
Maurício Szabo
d28f28dd9c Final rule for js* and native/raw macros 2023-09-21 18:02:09 -03:00
Maurício Szabo
24b3f91b6d Removed duplicated queries 2023-09-21 15:04:03 -03:00
Maurício Szabo
0581a52dd5 Another test just to be sure 2023-09-21 01:04:09 -03:00
Maurício Szabo
98e8867470 Removed unused scope for Clojure 2023-09-21 01:00:29 -03:00
Maurício Szabo
f4e78467a7 Simplifying queries for Clojure 2023-09-21 00:54:48 -03:00
Maurício Szabo
5b681e5fb8 Merge remote-tracking branch 'origin/master' into clojure-grammar-enhancements 2023-09-21 00:51:42 -03:00
Maurício Szabo
82f7dc2af8 EDN fix for str_lit 2023-09-21 00:51:08 -03:00
Maurício Szabo
19d69237b4 Passing buffer to injections to customize even more 2023-09-21 00:48:40 -03:00
Maurício Szabo
73f2756058 EDN will be back to Clojure - less issues 2023-09-21 00:48:10 -03:00
Maurício Szabo
68dc3deb54 Added a tokens fixture for EDN 2023-09-21 00:47:52 -03:00
Maurício Szabo
cf896ec224 Add a tokenizer test for EDN files 2023-09-21 00:47:36 -03:00
Maurício Szabo
1a7719adad Fixed some grammar rules for unquote in Clojure 2023-09-20 21:38:03 -03:00
Andrew Dupont
bfe8ce4e81 Prevent certain syntax themes from highlighting class bodies wrong…
…in Ruby.
2023-09-20 14:59:59 -07:00
Maurício Szabo
d5664d19c0 Implementing a new scope detector, fix Clojure grammar 2023-09-18 02:38:35 -03:00
Maurício Szabo
8f987876c4 Merge remote-tracking branch 'origin/more-clojure-fixes-2' into clojure-grammar-enhancements 2023-09-18 02:27:34 -03:00
Maurício Szabo
fe87354ed4 Merge remote-tracking branch 'origin/master' into autocomplete-lsp-compatible-api 2023-09-16 23:24:21 -03:00
confused-Techie
12fdc30367 Fix some items within Changelog 2023-09-15 20:28:16 -07:00
confused_techie
d9f3b870eb
Merge pull request #722 from pulsar-edit/1.109.0-changelog
Update Changelog for 1.109.0
2023-09-15 19:53:30 -07:00
confused_techie
00404d99bc
Merge pull request #717 from pulsar-edit/about-package-responsive-design-for-narrow-width-panels
about: Make the About page's CSS responsive for narrow panes
2023-09-15 19:50:01 -07:00
confused-Techie
ff481e3f86 Add last PR merge 2023-09-15 19:49:14 -07:00
confused_techie
cd08e5fbf0
Merge pull request #711 from pulsar-edit/use-local-image-for-bundled-packages
[core & settings-view] Avoid network requests for bundled packages
2023-09-15 19:47:50 -07:00
confused-Techie
3f77862990 Add new Changelog notes 2023-09-15 16:18:49 -07:00
confused-Techie
9e94ca1b6c Ensure we strip the repo of .git 2023-09-15 00:04:04 -07:00
confused-Techie
5dec09add0 Use helper function to ensure we always get repository URL 2023-09-14 23:43:57 -07:00
confused_techie
b79644e90b
Update packages/settings-view/lib/package-card.js
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2023-09-14 22:40:26 -07:00
Spiker985
79820ef760
Remove @ from example to fix Documentation CI
Coffeescript function calls are prefixed with an @, which is the same syntax that jsdoc uses for parsing - which meant that it thought the example was empty.
2023-09-14 18:50:55 -04:00
DeeDeeG
89c082dcc5 about: Delete commented out CSS styles/rules 2023-09-14 03:43:55 -04:00
DeeDeeG
03033361c8
about: Delete a redundant CSS rule
This line was already overridden by the line right below it anyway...
2023-09-13 22:06:21 -04:00
DeeDeeG
e288139636 about: Make the about page's CSS responsive for narrow panes 2023-09-13 18:52:54 -04:00
Andrew Dupont
69038a1c4c
Merge pull request #677 from savetheclocktower/tree-sitter-more-fixes
Tree-sitter running fixes (August edition)
2023-09-13 15:14:27 -07:00
confused_techie
7312ae4f83 Import path correctly 2023-09-11 08:58:40 -07:00
confused-Techie
7d78365720 Avoid hitting the API for packages if they are bundled 2023-09-07 19:53:50 -07:00
confused-Techie
348d23095c Decaf tree-view.js using CoffeeScript 1.12.7 2023-09-04 14:19:08 -07:00
confused-Techie
d479de6a18 Call super before accessing this of classes 2023-09-04 12:34:58 -07:00
confused-Techie
4e7f8ba7de Properly export default-file-icons.js 2023-09-04 04:13:29 -07:00
confused-Techie
4160815e1c Manual decaf tree-view source 2023-09-04 03:12:53 -07:00
confused-Techie
5895c21048 Manual decaf status-bar source 2023-09-04 03:01:39 -07:00
confused-Techie
0c10f0a775 Machine decaf tree-view source 2023-09-04 02:32:01 -07:00
confused-Techie
f37b1dd1a8 Machine decaf status-bar source 2023-09-04 02:27:13 -07:00
confused-Techie
94a24dbec3 Add extra tests for good measure 2023-09-03 20:33:49 -07:00
confused-Techie
dd6f862226 Remove spec for dev release notes 2023-09-03 20:02:53 -07:00
confused-Techie
0d3c32305e Remove special handling for dev versions 2023-09-03 19:46:45 -07:00
confused-Techie
88fdb77d22 Ensure to replace all instances of . in version string 2023-09-03 17:20:16 -07:00
confused-Techie
3cf49489cd Update specs, remove release channel testing, now that the logic has been fully removed 2023-09-03 16:32:17 -07:00
confused-Techie
edc9558acf Link release notes to CHANGELOG.md instead of tagged version 2023-09-03 15:47:33 -07:00
confused_techie
2b4b216830
Merge pull request #700 from pulsar-edit/package-specs-manual-decaf
Decaf Packages Spec
2023-09-02 18:29:32 -07:00
confused-Techie
5084785fcf Stop using this in install-panel-spec.js 2023-08-31 22:11:26 -07:00
confused-Techie
90110ad812 Bring back most decaffed code to install-panel-spec.js to fix errors 2023-08-31 20:30:08 -07:00
confused-Techie
c042505f27 Add back returns to install-panel-spec.js beforeEach() statements to see if it resolves CI errors 2023-08-31 19:57:54 -07:00
DeeDeeG
6bfad4c0db settings-view: Don't fix repository for core themes
Stop inserting a best-guess `repository` field for built-in themes'
package.json data if they lack one in their actual package.json file.

Follow-up to https://github.com/pulsar-edit/pulsar/pull/264.

Doing this for the themes panel as well, since we just did it for the
installed-packages panel, and since it's good to be consistent.
2023-08-31 21:18:12 -04:00
confused-Techie
fe251689d4 Match indentation between CoffeeScript source and decaf 2023-08-30 23:52:33 -07:00
confused-Techie
57965f8837 Finish manual decaf settings-view 2023-08-30 23:50:21 -07:00
confused-Techie
9d30cd2276 Begin manual decaf of settings-view 2023-08-30 22:45:30 -07:00
confused-Techie
275a58c4a5 Manual decaf tree-view specs 2023-08-30 21:38:51 -07:00
confused-Techie
0d5864f986 Manual decaf status-bar specs 2023-08-30 21:30:44 -07:00
confused-Techie
12643554cc Machine decaf settings-view specs 2023-08-30 21:24:16 -07:00
confused-Techie
01b3f992ed Machine decaf status-bar specs 2023-08-30 21:06:20 -07:00
confused-Techie
13033724c2 Machine decaf tree-view specs 2023-08-30 21:05:12 -07:00
confused-Techie
338361803d Merge branch 'master' into pr/264 2023-08-29 19:09:21 -07:00
Andrew Dupont
878ef168c2 [language-yaml] Fix deprecated predicate syntax 2023-08-27 00:48:48 -07:00
Andrew Dupont
37e25ac49e [language-yaml] Add scopes for single-quoted string delimiters 2023-08-27 00:33:40 -07:00
Andrew Dupont
490ff32237 [language-yaml] Highlight single-quoted strings 2023-08-27 00:24:42 -07:00
confused_techie
24a41416a2
Merge pull request #686 from pulsar-edit/manual-decaf-spec-2
[language- && packages] Manual Decaf Spec Bundle
2023-08-25 18:35:14 -07:00
Sebastian Balcerowiak
a684a93a13
fix links 2023-08-25 12:54:28 +02:00
Andrew Dupont
19e1664b08
Merge pull request #680 from savetheclocktower/fix-autocomplete-race-condition
[autocomplete-plus] Detect when menu state gets out of sync with DOM
2023-08-24 16:46:36 -07:00
confused_techie
24ab36323c
Merge pull request #668 from pulsar-edit/mothball-current-auto-update-logic
Remove AutoUpdate functionality from Core
2023-08-24 16:45:20 -07:00
renovate[bot]
e6aeda47fd
Update autocomplete-html package 2023-08-24 11:56:29 +00:00
confused-Techie
b41599982b Fix php-spec 2023-08-23 19:42:41 -07:00
confused-Techie
2273ed4eb0 Manual decaf wrap-guide spec 2023-08-23 18:20:34 -07:00
confused-Techie
6d7f2c01e0 Manual decaf language-yaml 2023-08-23 17:23:04 -07:00
confused-Techie
e2d7724807 Manual decaf language-xml 2023-08-23 17:21:58 -07:00
confused-Techie
1d00fe2368 Manual decaf language-toml 2023-08-23 17:19:42 -07:00
confused-Techie
12c64d9336 Manual decaf language-todo 2023-08-23 17:18:42 -07:00
confused-Techie
206c90b6dc Manual decaf language-text 2023-08-23 17:18:11 -07:00
confused-Techie
902ed28ea9 Manual decaf langauge-sql 2023-08-23 17:17:37 -07:00
confused-Techie
075f17a0f0 Manual decaf langauge-shell-script 2023-08-23 17:16:12 -07:00
confused-Techie
e7b4335eaf Manual decaf langauge-sass 2023-08-23 17:09:46 -07:00
confused-Techie
26624c0acd Manual decaf language-ruby-on-rails spec 2023-08-23 01:14:39 -07:00
confused-Techie
09a3278ae0 Manual decaf language-ruby spec 2023-08-23 01:13:05 -07:00
confused-Techie
420df26093 Manual decaf language-python spec 2023-08-23 01:07:56 -07:00
confused-Techie
068e5c4f31 Manual decaf language-php spec 2023-08-23 01:03:05 -07:00
confused-Techie
05fcb6a924 Manual decaf language-perl spec 2023-08-22 22:35:24 -07:00
confused-Techie
8c698e26d9 Manual decaf language-objective-c spec 2023-08-22 22:32:16 -07:00
confused-Techie
817941b114 Manual decaf language-mustache spec 2023-08-22 22:31:11 -07:00
confused-Techie
eb50fc5956 Manual decaf language-make 2023-08-22 22:30:00 -07:00
confused-Techie
a0f2413db4 Manual decaf language-less spec 2023-08-22 22:27:25 -07:00
confused-Techie
b887846496 Manual Decaf language-json spec 2023-08-22 22:25:48 -07:00
confused-Techie
5dee2c1ebb Manual decaf language-javascript spec 2023-08-22 22:24:19 -07:00
confused-Techie
2c97cfc5e3 Manual decaf language-java spec 2023-08-22 22:11:06 -07:00
confused-Techie
c51d0e08d7 Manual decaf language-hyperlink specs 2023-08-22 22:04:08 -07:00
confused-Techie
e4b48470b3 Manual decaf language-html spec 2023-08-22 21:51:34 -07:00
confused-Techie
a01c200b22 Manual decaf deprecation-cop spec 2023-08-22 21:43:40 -07:00
confused-Techie
1a4410e954 Manual decaf autoflow specs 2023-08-22 21:39:39 -07:00
confused-Techie
8b64b19e3e Manual decaf autocomplete-atom-api 2023-08-22 21:03:28 -07:00
confused-Techie
d4b329fdd4 autocomplete-atom-api spec 2023-08-22 20:58:04 -07:00
confused-Techie
7de2954689 autoflow spec 2023-08-22 20:57:27 -07:00
confused-Techie
31392a3c5a deprecation-cop spec 2023-08-22 20:56:33 -07:00
confused-Techie
f950308a16 wrap-guide spec 2023-08-22 20:54:07 -07:00
confused-Techie
ecd610f523 language-yaml spec 2023-08-22 20:52:56 -07:00
confused-Techie
5a0a57db72 language-xml spec 2023-08-22 20:52:05 -07:00
confused-Techie
3babc9ab42 language-toml spec 2023-08-22 20:51:26 -07:00
confused-Techie
54904e88d7 language-todo spec 2023-08-22 20:51:02 -07:00
confused-Techie
f05398281b language-text spec 2023-08-22 20:50:38 -07:00
confused-Techie
60091e094f language-sql spec 2023-08-22 20:50:14 -07:00
confused-Techie
7affe20043 language-shellscript spec 2023-08-22 20:46:26 -07:00
confused-Techie
8d5e151e92 language-sass spec 2023-08-22 20:45:39 -07:00
confused-Techie
3d1e2fe430 (missing file) language-python spec 2023-08-22 20:43:18 -07:00
confused-Techie
15c1ec13bc language-ruby-on-rails spec 2023-08-22 20:42:32 -07:00
confused-Techie
bbc2532272 language-ruby spec 2023-08-22 20:41:50 -07:00
confused-Techie
8170d0c7b9 language-python spec 2023-08-22 20:40:25 -07:00
confused-Techie
4f70a628ce language-php spec 2023-08-22 20:38:57 -07:00
confused-Techie
00c7d5b253 language-perl spec 2023-08-22 20:37:01 -07:00
confused-Techie
08d7c939d2 language-objective-c spec 2023-08-22 20:36:14 -07:00
confused-Techie
01553a7ee4 language-mustache spec 2023-08-22 20:35:44 -07:00
confused-Techie
2ddbeba14f language-make spec 2023-08-22 20:35:05 -07:00
confused-Techie
e0cc11c837 language-less spec 2023-08-22 20:34:37 -07:00
confused-Techie
e19613ecdf language-json spec 2023-08-22 20:34:10 -07:00
confused-Techie
bb53e291cf language-javascript spec 2023-08-22 20:33:47 -07:00
confused-Techie
d83a3aa779 language-java spec 2023-08-22 20:32:32 -07:00
confused-Techie
fc771977db language-hyperlink spec 2023-08-22 20:30:55 -07:00
confused-Techie
a4379ebb40 language-html specs 2023-08-22 20:30:25 -07:00
Andrew Dupont
c7e2567fc8
Merge pull request #683 from savetheclocktower/suppress-marked-warnings-in-autocomplete
[autocomplete-plus] Suppress `marked` warnings
2023-08-22 17:09:17 -07:00
Andrew Dupont
adb3a8fdce [autocomplete-plus] Suppress marked warnings 2023-08-22 09:59:56 -07:00
Andrew Dupont
ebf5333022 [language-c] Scope identifiers as types when they are unambiguously so
Anything that is one of the reserved type words in C must be a type in all contexts. And any identifier that ends in `_t` is, by strong convention, a type.
2023-08-21 00:46:29 -07:00
Andrew Dupont
a0c446e958 [autocomplete-plus] Detect when menu state gets out of sync with DOM
We schedule the removal of `.autocomplete-active` when a menu closes, which means that that task has a chance of being stale by the time it tries to run. Guard against that by comparing our assumptions to reality.
2023-08-18 13:44:51 -07:00
confused_techie
f3ecfc33d4
Update packages/about/lib/components/about-view.js
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2023-08-17 20:42:00 -07:00
confused-Techie
52b71d3464 Returns "Developer Instance" in tests 2023-08-17 20:05:51 -07:00
confused-Techie
e8f4f61baf Update readme 2023-08-17 19:23:12 -07:00
confused-Techie
58133533e6 Detect when run via yarn start 2023-08-17 19:19:50 -07:00
confused-Techie
8703a686b2 Add spec 2023-08-17 17:57:04 -07:00
confused-Techie
415f90ce02 Include conditional update check button 2023-08-17 17:03:10 -07:00
Andrew Dupont
9954068f8f Fix syntax highlighting of Ruby regexes 2023-08-16 19:34:41 -07:00
Andrew Dupont
10907fb40f Use correct comment delimiters within JSX when using a TSX grammar 2023-08-16 11:50:29 -07:00
Andrew Dupont
ff34f2daf2 Use the proper comment delimiters when commenting out a range of JSX 2023-08-16 11:40:51 -07:00
Andrew Dupont
18606447cf Harmonize the TypeScript/TSX indents.scm with that of JavaScript 2023-08-16 11:40:51 -07:00
Andrew Dupont
4402d9ada4 Add some TypeScript/TSX highlights
There were some constructs that we neglected to highlight properly, like 
type predicates and rest parameters.
2023-08-16 11:40:51 -07:00
Andrew Dupont
eb5d1c2198 Fix folding of block comments in TypeScript/TSX 2023-08-16 11:40:51 -07:00
Andrew Dupont
0adb5e6dc8 Fold multi-line parameters in TypeScript and TSX 2023-08-16 11:40:51 -07:00
Andrew Dupont
2d802a745f Add TODO and Hyperlink injections to the shellscript grammar 2023-08-16 11:40:51 -07:00
Andrew Dupont
37a81ccb82 Make the fun snippet work in more contexts
`fun` expands to a simple function definition in JavaScript, but there 
are certain contexts where that syntax is invalid, making the snippet 
much less useful.

Now that we're scoping the insides of class bodies and object literals, 
though, we can define more specific snippets for those contexts that use 
the correct syntax.

The class-instance-method snippet and the inside-an-object-literal 
snippet are identical, except that the latter has a trailing comma.
2023-08-16 11:40:51 -07:00
Andrew Dupont
5c8f6abd94 Tag properties as such in JSON's tags.scm 2023-08-16 11:40:51 -07:00
Andrew Dupont
7de9a82a42 Scope inline tags in JSDoc 2023-08-16 11:40:51 -07:00
Andrew Dupont
cb4679f9d8 Tweak JSX indentation hinting 2023-08-16 11:40:51 -07:00
Andrew Dupont
99d230e7c6 Add some recognized values to the CSS highlights.scm 2023-08-16 11:40:51 -07:00
Andrew Dupont
cd392dfbd6 Tweak some C/C++ queries 2023-08-16 11:40:51 -07:00
Andrew Dupont
cc31ed935b Reformat a bracket-matcher file 2023-08-16 11:40:51 -07:00
Andrew Dupont
46f5e44fd1 Fix bracket-matcher failing to find a match in Tree-sitter mode
Occurred in a TSX file.
2023-08-16 11:40:51 -07:00
Andrew Dupont
d0b3b08295 JavaScript: Stop handling injections for TypeScript and TSX
Instead, move that code to `language-typescript/lib/main`.
2023-08-16 11:40:51 -07:00
Andrew Dupont
b03b56d905 JavaScript tags.scm: associate methods with their class name 2023-08-16 11:40:51 -07:00
Andrew Dupont
54c4a3a4fb Fix JavaScript folds:
* When a list of parameters is formatted with one on each line, you 
should be able to fold up the whole thing.
* Block comment folds should end just before the closing delimiter, no 
matter what their indentation level.
2023-08-16 11:40:51 -07:00
Andrew Dupont
36bcd70ff5 Adjust meta.block scopes so that they're active only when inside curly braces 2023-08-16 11:40:51 -07:00
confused-Techie
d38a44b7b4 Add changelog entries 2023-08-15 17:57:41 -07:00
confused_techie
9e0db5b054
Merge pull request #659 from pulsar-edit/add-markdown-tree-sitter-grammar
Add the Tree-sitter Markdown grammar
2023-08-15 17:13:26 -07:00
Andrew Dupont
e293df1ab1 Merge branch 'master' into add-markdown-tree-sitter-grammar 2023-08-14 14:01:02 -07:00
Andrew Dupont
8ab7f145e0 Tweak heading styles for one-dark-syntax and one-light-syntax 2023-08-13 19:37:40 -07:00
Daeraxa
3a64adfb4e correct deb-get instructions and homebrew in readme 2023-08-12 05:31:46 +01:00
confused-Techie
68bf168997 Remove auto update functionality from about 2023-08-10 20:27:19 -07:00
Andrew Dupont
f4bda1a53b Revert "Add the Tree-sitter Markdown grammar."
This reverts commit 498fc00af8.
2023-08-10 19:08:58 -07:00
Andrew Dupont
d0f047bf13 Revert "Add ability to fold nested list items"
This reverts commit 0b39cba419.
2023-08-10 19:08:45 -07:00
Andrew Dupont
552acd0853 Merge branch 'master' into tree-sitter-running-fixes 2023-08-10 12:12:51 -07:00
confused_techie
aabb845c09
Merge pull request #656 from pulsar-edit/bundle-pulsar-updater
Add `pulsar-updater` as a core bundled Package
2023-08-09 17:19:57 -07:00
confused-Techie
03d4477f66 Fix configuration value retrieved in autoflow 2023-08-06 19:36:00 -07:00
confused-Techie
15dc4a7445 Manual decaf autocomplete-atom-api source 2023-08-06 16:22:37 -07:00
confused-Techie
c523fe6cc4 Manual decaf autoflow 2023-08-06 16:17:27 -07:00
confused-Techie
d9be938a25 Manual decaf deprecation-cop source 2023-08-06 15:10:30 -07:00