sbobrov85 / twig-linter Goto Github PK
View Code? Open in Web Editor NEWIntegrate php twig-linter with NetBeans IDE
Integrate php twig-linter with NetBeans IDE
Add annotation without open "Action items" window.
I got this exception inside the messages.log, when I open NetBeans:
Caused: java.util.MissingResourceException: No such bundle ru.sbobrov85.nb.twiglinter.TwigLinterTaskScanner.Bundle
at org.openide.util.NbBundle.getBundle(NbBundle.java:451)
at org.openide.util.NbBundle.getBundle(NbBundle.java:383)
at org.netbeans.modules.tasklist.trampoline.TaskGroupFactory.create(TaskGroupFactory.java:114)
at org.netbeans.modules.tasklist.trampoline.TaskGroupFactory.create(TaskGroupFactory.java:100)
at org.netbeans.spi.tasklist.Task.createGroup(Task.java:225)
Caused: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.netbeans.core.startup.layers.BinaryFS$AttrImpl$MethodAndParams.invoke(BinaryFS.java:773)
[catch] at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:703)
at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(BinaryFS.java:549)
at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:944)
at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:877)
at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:940)
at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:877)
at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:798)
at org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1432)
at org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:846)
at org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:597)
at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1055)
at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1035)
at org.openide.util.lookup.ProxyLookup$LazyCollection.computeSingleResult(ProxyLookup.java:1285)
at org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1123)
at org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1090)
at org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1073)
at org.openide.util.lookup.ProxyLookup$LazyCollection.toArray(ProxyLookup.java:1179)
at java.util.ArrayList.addAll(ArrayList.java:577)
at org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1143)
at org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1090)
at org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1073)
at org.openide.util.lookup.ProxyLookup$LazyCollection.toArray(ProxyLookup.java:1179)
at java.util.ArrayList.<init>(ArrayList.java:177)
at org.netbeans.modules.tasklist.trampoline.TaskGroupFactory.initGroups(TaskGroupFactory.java:162)
at org.netbeans.modules.tasklist.trampoline.TaskGroupFactory.getGroups(TaskGroupFactory.java:190)
at org.netbeans.modules.tasklist.trampoline.TaskGroup.getGroups(TaskGroup.java:87)
at org.netbeans.modules.tasklist.ui.CountStatusBar.updateText(CountStatusBar.java:85)
at org.netbeans.modules.tasklist.ui.CountStatusBar.<init>(CountStatusBar.java:80)
at org.netbeans.modules.tasklist.ui.TaskListTopComponent$4.run(TaskListTopComponent.java:347)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Like other PHP panels (when no opened projects).
Related #1
Create options panel for module using NetBeans generator and visual editor.
Options panel elements:
Create gitignore file like as for uploadfilesbutton project.
Read php executable from php project options.
Fix "Undefined group" in action items window.
Require #2!
Show warning/error markers.
I think it is not needed to restart NetBeans after installing your plugin, right? So please go to the project properties and set the correct value, to not restart NetBeans after installing your plugin.
Regards
Chris
Small refactoring: move panel files into new folder.
No errors with message:
Unexpected token "name" of value "options" ("punctuation" expected with value ",")
Implement methods for:
Require #1!
Replace file scan to retrieve data from annotations.
Where is the Twig Linter options window when this plugin is installed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.