Comments (2)
Hi WrayKS1,
Thanks for the report.
Indeed you have found interesting issue. In general I would not recommend to put any significant amounts of JavaScript to cshtml files. Better to move them to .js files.
Currently plugin has a little weak logic to process Razor syntax, and it is of course can not provide all syntax support.
So, for you it is better to disable processing of cshtml files in the settings.
BUT, currently if you remove "cshtml" from list of matched extensions it would not help because of a bug. You should also remove "html" from that list. Yes, it currently just check if your full file name ends with some of extensions in the list, and "html" is there. That is why it tries to parse it.
I'll fix that in next release.
from js-map-parser.
Fixed in 4.0.2 release.
Available here: https://github.com/megaboich/jsparser/releases/tag/4.0.2
from js-map-parser.
Related Issues (19)
- Could you add an function that makes the sofeware can use with Razor?
- XAML Workflow file crashes
- VS2017 support HOT 8
- Function Apply
- Swears on a binary number
- parsing error when using variable as object key
- Unable to remove plugin in Notepad++ HOT 1
- js-map-parser issue with file extentions in VS 2015 HOT 1
- Math.min(...array) or Math.max(...array) HOT 1
- Does not recognize default parameter
- Error reported on Promise related syntax
- New update does not show the map correctly HOT 5
- Feedback HOT 1
- Ignores last comma in json HOT 1
- ecma6 not supported HOT 6
- Bug In Parsing
- Colour theme should mock the visual studio one at first HOT 1
- Unknown exception with JsMapParser.NppPlugin.dll v4.1 HOT 2
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 js-map-parser.