Comments (4)
The two issues in the top comment are resolved. Regression is now checked for by atom-grammar-test and Jasmine.\
There are a total of 359 tests with 3459 assertions.
from editorsyntax.
The problem with detecting regressions in a project like this, is that it will never be any better than the test scripts we test the changes against. When we pushed these changes everything was fine when tested against the test scripts. So really, these kinds of feedback is really important, and we need to get them added to the test script as well.
This particular issue, and really a bunch of similar issues that have been reported I think is because I tried to match variables with properties, like in your example. This turns out to be a lot harder to do correctly than I initially thought, so I'm going to disable this bit, which should "fix" a lot of the issues we are now seeing.
I apologize for not testing this better before pushing this particular "feature".
from editorsyntax.
Well, the real problem is that there's nothing automated set up, so we're relying on visual inspections of code highlighting, and you don't have any test results you can throw in my face to say "hey dude, the tests passed, write better tests if you don't like it!" 😉
But yeah. I want something like the new sublime text test harness ;-)
https://www.sublimetext.com/docs/3/syntax.html#testing
from editorsyntax.
Oh. yeah, something like that would be great. I know the VSCode team try to do something automated, but it's a mess, hard-coded color codes etc. Would definitely have been cool to have something that would do the testing for us. When we get all the issues sorted out perhaps I'll have the time to look into something. Would be nice to be able to use Pester :)
from editorsyntax.
Related Issues (20)
- $test:/ - colon is not being parsed correctly on string HOT 3
- its possible to implement empty coallesing operator HOT 3
- Comment Based Help Keywords and Their Parameters Not Highlighting Correctly HOT 2
- FTLOG Don't use light gray on a white background
- Powershell syntax highlighting disrupted by single quotes in HTML
- Function without arguments not colorized HOT 2
- foreach not scoped correctly after curly brace
- Asterisk is not recognized as valid function/cmdlet name character HOT 1
- Export-Member color coding issue
- Parameters are shown using variables-color HOT 7
- Version v2021.5.1 Semantic Textmate Scope is incorrect for negative numeric literals, when used as a parameter HOT 4
- No Syntax Highlighting for `enum` declarations HOT 2
- #Requires syntax highlighting bug HOT 2
- Syntax Highlighting doesn't recognize ? as part of a variable name
- Generic method type parameter support
- Syntax Highlighting: region incorrectly highlighted when defined as part of a hashtable
- Function name not recognized in definition when on different line
- word_wrap settings does not obey the global settings in sublime text HOT 1
- Attributes not attached to parameters aren't recognized as attributes but as a generic type
- Code thinks ArgumentCompleter attribute on parameter is the parameter's type
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 editorsyntax.