Commit Graph

40262 Commits

Author SHA1 Message Date
confused-Techie
ba9c93f572 More realize setup 2023-03-07 01:37:29 -08:00
confused-Techie
fc1ebbd984 Initial setup of new pane, testing settings list items 2023-03-06 23:47:32 -08:00
Andrew Dupont
c2e44b4c5c Don't force a parse just to do folds (this was dumb of me) 2023-03-06 22:02:05 -08:00
confused-Techie
46f96db790 Many many others 2023-03-06 20:20:05 -08:00
Andrew Dupont
bea325285e Get indents and folds working again 2023-03-06 19:11:37 -08:00
confused-Techie
828f326dc7 Add in stroke spec properties 2023-03-06 19:01:32 -08:00
confused-Techie
b79cc7b756 Add other alias' and property mappings 2023-03-06 18:56:14 -08:00
confused-Techie
04119047b0 Add all legacy alias' and more 2023-03-06 18:30:05 -08:00
Andrew Dupont
67f7fb7a9f Get injections working.
Preliminary. Folds and indents are broken at the moment.
2023-03-06 18:12:09 -08:00
confused-Techie
f34341bd49 First manual property description, and implementation of it's functionality 2023-03-06 17:43:04 -08:00
Maurício Szabo
77de02a935 Make require the same as TextMate 2023-03-06 22:34:40 -03:00
Maurício Szabo
ebf4d77c6b More fixes to highlights 2023-03-06 22:33:02 -03:00
Maurício Szabo
600679896c Adding a hook for did-change-highlighting 2023-03-06 22:12:44 -03:00
Maurício Szabo
f6018f7cab Fixed-ish tests 2023-03-06 22:12:18 -03:00
confused-Techie
a2237f3a9f Also add checks to svg/elements to collect missing marker 2023-03-06 17:08:16 -08:00
Maurício Szabo
46b19aad62 Merge remote-tracking branch 'clocktower/tree-sitter-hell' into fix-ruby-tree-sitter-scopes-with-right-tokens 2023-03-06 21:18:42 -03:00
Maurício Szabo
a80cbf20b3 Some highlights changes 2023-03-06 21:16:06 -03:00
Maurício Szabo
0362fc7021 Merge remote-tracking branch 'origin/feature/modernize-tree-sitter' into fix-ruby-tree-sitter-scopes 2023-03-06 20:31:10 -03:00
Maurício Szabo
0863b759c0 Removing VERY specific matches 2023-03-06 17:39:14 -03:00
Maurício Szabo
e884956ce4 Changed the matching of scopes
A quick explanation on this - the old code was matching if the full
scope was ok. This is fine when we want to test a single grammar, but
for example, TextMate grammars always added `.ruby` on the last part of
the grammar. That was quite bad for TreeSitter, that basically didn't do
the same thing. So now it matches a fine crafted Regexp that basically
checks if the full scope is match from the beginning, OR if part of the
scope (up to just before the `.`) matches. So, for example, for
`constant.other.ruby` it'll match `constant`, `constant.other`, and
`constant.other.ruby` but it'll NOT MATCH `constant.oth`.
2023-03-06 17:35:22 -03:00
Andrew Dupont
12e8c9c2d2 Paving the way for injections
`LanguageLayer` is re-introduced. All tree parsing and querying will eventually need to live inside an instance of `LanguageLayer`. Right now, just the syntax highlighting is doing so.
2023-03-06 12:07:55 -08:00
Andrew Dupont
3f614b447f Fixes
Implement `isRowCommented`,  add more syntax node predicates, implement automatic reloading of SCM files.
2023-03-06 00:11:06 -08:00
Andrew Dupont
e73d69ec53 Implement bufferRangeForScopeAtPosition 2023-03-05 14:17:09 -08:00
Andrew Dupont
319e0b7cff Fix a few bugs.
Get indents working better. Move things around a bit.
2023-03-04 23:47:48 -08:00
Andrew Dupont
6a41b3bb6a Lots of fixes. 2023-03-04 19:47:50 -08:00
confused-Techie
732a353f45 Protect against collecting warnings and notices as descriptions 2023-03-04 19:32:22 -08:00
confused-Techie
7c1e1d37b1 Resolve the initial blank descriptions 2023-03-04 19:06:04 -08:00
confused_techie
0ab4f7d22a
Update packages/autocomplete-css/update.js 2023-03-04 16:46:55 -08:00
DeeDeeG
5818707a8e
Merge pull request #412 from pulsar-edit/package-test-pulsar-cache
actually cache based on sha
2023-03-04 12:28:12 -05:00
DeeDeeG
10240764f9 autocomplete-css: Handle more recursion
Don't want those implicit values showing in the middle of suggested
auto-completions! Only at the end!

Return an empty array instead of the implicit values where needed,
if recursing.
2023-03-04 00:50:11 -05:00
DeeDeeG
ebdd711d64 autocomplete-css: Handle recursion for appending implicit values
Avoid appending the implicit values multiple times / in multiple
spots in the values list per property.

(These duplicate implicit values would be deduped, but the middle ones
would be the ones that would be kept, whereas we want to only keep
the bottom ones.)

---

Details:

The function that adds the implicit values to each property is
recursed sometimes, based on the structure of the data we are
ingesting. For the deeper/innner calls of this function, avoid
appending the implicit values, since we will be doing that at the end
of the outer/upper calls.

Makes sure the implicit values are not added in the middle *and* at
the bottom, in which scenario they would eventually be deduped
(removing the bottom copy, I suppose), but leaving one copy of the
implicit values smack-dab in the middle of the values list for the
given property.

We want only one copy of these values, sure, so deduping is
appreciated, but they should be *at the bottom* of the list of values.
Not the middle. So we gotta make sure the only copy fed through the
deduper function is the one at the bottom.
2023-03-03 23:44:09 -05:00
Spiker985
1411a80c58
Update pulsar.sh to match new CFBundleIdentifier 2023-03-03 22:37:12 -05:00
DeeDeeG
a163e387f4 autocomplete-css: Refresh package-lock.json
Not sure why this "from" field changed. Hmm.
2023-03-03 21:48:15 -05:00
DeeDeeG
4eb9758ab6 autocomplete-css: Put implicit values last
(This commit should just be re-arranging the values,
so as to put the implicit ones last.)

These implicit values are the same for all properties.

I find it more useful to view the property-specific values first,
since users may not actually know what property-specific values exist
for a given CSS property, and these implicit values are *always*
allowed... (I think they are, anyway).

This shows those property-specific values first, better advertising
what options are actually available to use. (Besides that, as far as I
know, the implicit "inherit", "initial", "unset" values are not as
commonly used as the property-specific values anyway.)
2023-03-03 21:42:10 -05:00
confused_techie
c5d1acb435
Merge pull request #408 from savetheclocktower/bump-snippets
Bump `snippets` to bb00f9
2023-03-03 18:35:04 -08:00
DeeDeeG
1ad19ceb7d autocomplete-css: Run node update.js
Seems to re-order some of the properties, for some reason?
2023-03-03 21:27:25 -05:00
Andrew Dupont
ebf30d861f briefly out of hell 2023-03-03 18:16:07 -08:00
Andrew Dupont
092fe3f34f additional hell 2023-03-03 17:34:24 -08:00
Andrew Dupont
917fdf551b I am in hell 2023-03-03 11:02:32 -08:00
Meadowsys
e8728e4f69
actually cache based on sha 2023-03-02 21:46:58 -08:00
Maurício Szabo
e1cce9ac9a Added lang attribute 2023-03-02 20:31:42 -03:00
Spiker985
5ef6ff92be Add --no-sandbox to .desktop entry 2023-03-02 15:07:41 -05:00
Spiker985
cc17877903 Update mac CFBundleIdentifier 2023-03-02 13:58:29 -05:00
Spiker985
b2b73772b8 Update linux resource files 2023-03-02 11:30:11 -05:00
Spiker985
560e0714d1
Update Debian maintainer
Set to match package.json
2023-03-02 11:11:10 -05:00
DeeDeeG
b1c51b08f1 meta: Sync yarn.lock with snippets bump 2023-03-02 00:21:14 -05:00
DeeDeeG
9c510aef7b meta: Revert yarn.lock to state as of master branch 2023-03-02 00:11:07 -05:00
confused-Techie
7a746a7696 Rename variables within isValueInCompletions() 2023-03-01 17:21:41 -08:00
Maurício Szabo
7842474f71 Fix iPath error 2023-03-01 13:43:44 -03:00
Maurício Szabo
5b8050319f Getting only real assert comments 2023-03-01 13:42:44 -03:00