Comments (8)
@CraigMcloughlin oh yikes, thanks for reporting!
I should add that gutters in fix format RPG/RPGLE and DDS are not functional right now and actually break syntax highlighting
(#52). It was huge oversight on my part and I hope to get around to fixing it up here soon
from vscode-ibmi-languages.
On a further check - I think it's only an issue when the comment column is used - throwing out the regex
from vscode-ibmi-languages.
@CraigMcloughlin Ah yes, the worst bug I've made on this project lol. I have to sit down on a weekend and just rewrite the RPG/RPGLE fixed format and DDS regexes.
Seeing this bug highlight everything after as a string is further motivation to get started on it though, that's a pretty gruesome one.
from vscode-ibmi-languages.
@CraigMcloughlin corrected in v0.5.6
from vscode-ibmi-languages.
Hi @barrettotte
Good work on all the recent fixes/enhancements.
I recently found another example of the quote mark causing a comment issue.
If the RPG has a fixed format block mixed inside a free format, the comment issue occurs:
I appreciate this is generally bad practice and shouldn't be done - but there are also sorts of gremlins in some legacy code :-)
from vscode-ibmi-languages.
Also found an example in comments for procedures:
from vscode-ibmi-languages.
Ah darn why did I not explicitly test the original snippet lol? I think I know why this one is still happening, I'll take a look.
Thanks for re-commenting, sorry about that
from vscode-ibmi-languages.
@CraigMcloughlin Explicitly added two test cases for this issue. Thank you for reporting, it made me find another bug.
I just released v0.5.8 which should fix this up.
from vscode-ibmi-languages.
Related Issues (20)
- Spring 2022: RPG enhancements for 7.3, 7.4 and 7.5
- Formatter for CL gets confused when seeing character sequence slash-quote (\') .
- Has bracket-matching disappeared? HOT 2
- Fixed format constant issue
- Can folding be added to DDS for record specifications?
- SQLRPGLE format highlighting does not working HOT 4
- SUBDUR is missing from list
- Fixed format RPGLE /COPY, /INCLUDE highlight bug
- Reversed keyword, DCL-SUBF, not parsed and highlighted.
- Additions to RPGLE
- Fix OpenVSX Action Step HOT 3
- Custom source types HOT 1
- BUG: Color highlighting broken by entries in columns 1 - 6 HOT 1
- Invalid regex in grammar: lookbehind assertion is not fixed length HOT 5
- Spring 2023: PTF enhancements for 7.4 and 7.5
- what debugger do you guys use for CL, RPG, etc. HOT 1
- Fall 2023: PTF enhancements for 7.5 and 7.4 HOT 1
- Problem in the CL configuration in IBM Languages
- RPGLE language needs `wordPattern` to include punctuation HOT 4
- Fix single line `end-pr` and `end-ds` syntax highlighting error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-ibmi-languages.