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

fixes #80, #81 #83

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

fixes #80, #81 #83

wants to merge 5 commits into from

Conversation

ogobrecht
Copy link

Hi again,

here the fixes for the two issues opened by me. Feel free to revoke the pull request and let me know what is missing or wrong.

Comment on the syntax highlighting: I learned a lot. Instead of adding one new entry like you mentioned I had to add multiple ones - otherwise it would not work because of mixed start and end characters (regex "or"). Hope this will not slow down the parser.

Comment on the symbol recognition: Beneath the four regexes for the brackets I tried to add one generic one with a back reference like so: /q'(.)[\s\S]*?\1'/gi. This is working when I try it on regexr.com/4g99i (I saved it for you) but unfortunately not when I use it in the regex parser for the symbol recognition. I have no idea why this is not working there. So I had also to use here the same approach as for the syntax highlighting and provide for each needed character an own regex expression. Currently I support these characters: () [] {} <> | ! # ` ^.

I added also a file main/test/sql/ogobrecht_alternativeQuoting.sql. Please let me know, if I should integrate this test file in the existing package file main/test/sql/xyz_myPackage2.pkb.

Best regards
Ottmar

@jeanremacle
Copy link

Hello,

I was just looking into the same fix.
Are there any chances that this would be applied in a near future?

Regards,
Jean

- needed this to be able to run npm install without errors
- vscode is deprecated
- 1.137 seems to be the last version
- `npm install` was now successful
- `vsce package` was also successful
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