Comments (7)
Have you checked the "check file on open"-option ?
Btw: grats you are the first issue reporter :) 👯
from phpcsmd.
Yes, I had that option enabled. It works with you?
from phpcsmd.
Indeed it does ... which Netbeans version are you running?
STOP: I was able to reproduce this issue ... I'm going to fix this
from phpcsmd.
I'm using 7.3 and ubuntu 12.04
I double check and it's not working. This is what I do:
1 - I have a file that has some errors. All is working as expected by saving the file, by open another file, etc.
2 - Then I close and open netbeans
3 - The previous opened file/s are opened again automaticaly
4 - No error is showed
5 - If I open another file, the errors from that file are showed as expected but If i come back to previous not working file, it still not works until I do "Check for violations".
from phpcsmd.
Update: it still scans on startup but it does not annotate the files. Perhaps the Callback is missing (which I need to add annotations to the file). If I find a way on how to get the Callback for a specific file, the problem should be fixed
from phpcsmd.
It seems that
cookie.getLineSet().getLines().size()
is 0 on startup (file: GenericAnnotationHelper)
from phpcsmd.
I see no other solution to fix the remaining problem. I will close this bug and open a second (just as reminder).
from phpcsmd.
Related Issues (20)
- Toggle phpcsmd annotations HOT 3
- This is happening on NetBeans 7.3.1 Mac OSX HOT 1
- phpcpd must use one exclude for each folder HOT 2
- Add "script location" to project settings HOT 1
- phpmd "--exclude" option will not work when checking one file
- org.openide.filesystems.FileObject.toURL: LowPerformance took 72521 ms. HOT 5
- PHP CPD not working in Netbeans 7.4 and Windows 8.1 64-bit HOT 4
- Netbeans 8.0 Beta HOT 6
- Add support to import a generated PMD report HOT 22
- Better menu captions
- Settings > PHP > PHPCSMD > General > ignore regex ... isn't regular expression'ing. HOT 2
- Netbeans internal formatting feature and PHP CS HOT 1
- Setting option for running PHPCS-like tools
- Option to scan/update as you type? HOT 1
- Scan does nothing, tons of errors in log HOT 2
- Version for netbeans 8.1? HOT 7
- Process for inclusion in NetBeans PluginPortal? HOT 1
- Netbeans 11.3 HOT 6
- Feature - Follow custom rulesets from files (xml)
- How to install PHPCSMD in netbeans 8.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 phpcsmd.