Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for folding #59

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Conversation

scripthunter7
Copy link
Member

@ameshkov ameshkov merged commit 5c55597 into AdguardTeam:master Mar 15, 2023
@scripthunter7 scripthunter7 deleted the folding branch March 15, 2023 21:54
scripthunter7 added a commit to scripthunter7/VscodeAdblockSyntax that referenced this pull request Mar 17, 2023
commit 5c55597
Merge: ab43ec7 cb4ce49
Author: Andrey Meshkov <am@adguard.com>
Date:   Thu Mar 16 00:23:03 2023 +0300

    Merge pull request AdguardTeam#59 from scripthunter7/folding

    Add support for folding

commit ab43ec7
Merge: dd36d41 c6f5ae1
Author: Andrey Meshkov <am@adguard.com>
Date:   Thu Mar 16 00:22:37 2023 +0300

    Merge pull request AdguardTeam#64 from scripthunter7/from-to-method-modifiers

    Add support for `from`, `to` and `method` modifiers

commit dd36d41
Merge: 2261166 b815876
Author: Andrey Meshkov <am@adguard.com>
Date:   Thu Mar 16 00:22:08 2023 +0300

    Merge pull request AdguardTeam#57 from scripthunter7/fix-media-queries

    Fix media queries

commit c6f5ae1
Author: scripthunter7 <57285466+scripthunter7@users.noreply.github.com>
Date:   Mon Feb 13 16:38:28 2023 +0100

    Support for operators

    Handle following cases:

    ```
    ||google.com^$method=post|get
    ||example.com^$method=~get
    ```

commit 3d801c8
Author: scripthunter7 <57285466+scripthunter7@users.noreply.github.com>
Date:   Mon Feb 13 14:33:44 2023 +0100

    Add support for `from`, `to` and `method` modifiers

commit cb4ce49
Author: scripthunter7 <57285466+scripthunter7@users.noreply.github.com>
Date:   Sun Jan 1 16:25:01 2023 +0100

    Add support for folding

    Reference: https://code.visualstudio.com/api/language-extensions/language-configuration-guide#folding

commit b815876
Author: scripthunter7 <57285466+scripthunter7@users.noreply.github.com>
Date:   Tue Dec 13 17:07:06 2022 +0100

    Fix media queries
ameshkov pushed a commit that referenced this pull request Apr 24, 2023
* Integrate AGLint

* Improve README, add dev docs

* Minor improvements

* Move `test_rules.txt`

* Basic test project

* Show corresponding linter rule names

* Update AGLint to v1.0.8

* Reset diagnostics on ignore/config changes

* Merge branch 'master' into 'feature/basic-linter-integration'

commit 5c55597
Merge: ab43ec7 cb4ce49
Author: Andrey Meshkov <am@adguard.com>
Date:   Thu Mar 16 00:23:03 2023 +0300

    Merge pull request #59 from scripthunter7/folding

    Add support for folding

commit ab43ec7
Merge: dd36d41 c6f5ae1
Author: Andrey Meshkov <am@adguard.com>
Date:   Thu Mar 16 00:22:37 2023 +0300

    Merge pull request #64 from scripthunter7/from-to-method-modifiers

    Add support for `from`, `to` and `method` modifiers

commit dd36d41
Merge: 2261166 b815876
Author: Andrey Meshkov <am@adguard.com>
Date:   Thu Mar 16 00:22:08 2023 +0300

    Merge pull request #57 from scripthunter7/fix-media-queries

    Fix media queries

commit c6f5ae1
Author: scripthunter7 <57285466+scripthunter7@users.noreply.github.com>
Date:   Mon Feb 13 16:38:28 2023 +0100

    Support for operators

    Handle following cases:

    ```
    ||google.com^$method=post|get
    ||example.com^$method=~get
    ```

commit 3d801c8
Author: scripthunter7 <57285466+scripthunter7@users.noreply.github.com>
Date:   Mon Feb 13 14:33:44 2023 +0100

    Add support for `from`, `to` and `method` modifiers

commit cb4ce49
Author: scripthunter7 <57285466+scripthunter7@users.noreply.github.com>
Date:   Sun Jan 1 16:25:01 2023 +0100

    Add support for folding

    Reference: https://code.visualstudio.com/api/language-extensions/language-configuration-guide#folding

commit b815876
Author: scripthunter7 <57285466+scripthunter7@users.noreply.github.com>
Date:   Tue Dec 13 17:07:06 2022 +0100

    Fix media queries

* Install client and server dependencies automatically

this way one install command is enough

* Update AGLint to v1.0.10

* Update README.md

* update AGLint to 1.0.11

* add root linter config to tests

* improve error handling, add status bar item

* update ESLint config

- switch to yaml format
- remove Prettier

* improve test linter config

fix #63 (comment)

* Delete .prettierrc

* print initialization instructions when no config error occurs

fix #63 (comment)

* lint all open documents when the server starts

* throw error if no workspace root found

* change rollup to esbuild

- much faster build process
- optimized vsix, about 300 KB instead of the previous 4 MB
- separate script commands for the server, client and common things

* remove yarn engine warnings

Yarn does not know the "vscode" engine, therefore an error message is unnecessarily displayed when running yarn commands. This is solved by this commit

* catch linting errors

otherwise, the server may crash many times, causing the extension to be stopped by vscode

* expanding categories

* limit untrusted / virtual workspaces

* update vscode ignore list

* Update README.md

* add contributing guide

* higher resolution logo in readme

* exact link to the CONTRIBUTING file

the relative link probably won't work in the marketplace where the readme is also used

* remove redundant paths

* Create .gitattributes

fix linguist classification for test filters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants