Git Product home page Git Product logo

ini4idea's People

Contributors

ulitink avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ini4idea's Issues

Error during dispatching of java.awt.event.KeyEvent[KEY_PRESSED,keyCode=10,keyText=Eingabe,keyChar=Eingabe,keyLocation=KEY_LOCATION_STANDARD,rawCode=13,primaryLevelUnicode=13,scancode=28,extendedKeyCode=0xa] on frame0

Error during dispatching of java.awt.event.KeyEvent[KEY_PRESSED,keyCode=10,keyText=Eingabe,keyChar=Eingabe,keyLocation=KEY_LOCATION_STANDARD,rawCode=13,primaryLevelUnicode=13,scancode=28,extendedKeyCode=0xa] on frame0
java.lang.NullPointerException
at ini4idea.formatting.IniFileBlock.getSpacing(IniFileBlock.java:46)
at com.intellij.formatting.InitialInfoBuilder.a(InitialInfoBuilder.java:218)
at com.intellij.formatting.InitialInfoBuilder.iteration(InitialInfoBuilder.java:101)
at com.intellij.formatting.FormatProcessor$WrapBlocksState.doIteration(FormatProcessor.java:1302)
at com.intellij.formatting.FormatProcessor$State.iteration(FormatProcessor.java:1235)
at com.intellij.formatting.FormatProcessor.iteration(FormatProcessor.java:244)
at com.intellij.formatting.FormatterImpl.a(FormatterImpl.java:418)
at com.intellij.formatting.FormatterImpl.adjustLineIndent(FormatterImpl.java:356)
at com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl$5.doPerform(CodeStyleManagerImpl.java:340)
at com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl$5.doPerform(CodeStyleManagerImpl.java:337)
at com.intellij.psi.impl.source.codeStyle.CodeStyleManagerRunnable.perform(CodeStyleManagerRunnable.java:102)
at com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl.a(CodeStyleManagerImpl.java:337)
at com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl.access$100(CodeStyleManagerImpl.java:57)
at com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl$3.compute(CodeStyleManagerImpl.java:300)
at com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl$3.compute(CodeStyleManagerImpl.java:297)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.disablePostprocessFormattingInside(PostprocessReformattingAspect.java:110)
at com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl.adjustLineIndent(CodeStyleManagerImpl.java:297)
at com.intellij.codeInsight.editorActions.EnterHandler$DoEnterAction.run(EnterHandler.java:419)
at com.intellij.codeInsight.editorActions.EnterHandler.a(EnterHandler.java:169)
at com.intellij.codeInsight.editorActions.EnterHandler.access$000(EnterHandler.java:53)
at com.intellij.codeInsight.editorActions.EnterHandler$1.run(EnterHandler.java:74)
at com.intellij.psi.impl.source.PostprocessReformattingAspect$2.compute(PostprocessReformattingAspect.java:101)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.disablePostprocessFormattingInside(PostprocessReformattingAspect.java:110)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.disablePostprocessFormattingInside(PostprocessReformattingAspect.java:98)
at com.intellij.codeInsight.editorActions.EnterHandler.executeWriteAction(EnterHandler.java:71)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:54)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:986)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.execute(EditorWriteActionHandler.java:37)
at com.intellij.codeInsight.template.impl.editorActions.EnterHandler.executeWriteAction(EnterHandler.java:53)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:54)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:986)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.execute(EditorWriteActionHandler.java:37)
at com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:82)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:122)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:93)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:67)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:561)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:609)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:464)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:208)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:479)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

highlighting and parsing error

highlighting and parsing error

[params]
param1 = [234234234
param2 = ddddd
/*
snd comment like zis
*/

Error when it parsing strings with "[" symbol

section folding problem

There is a problem when folding a section if an entry value contains an '='.

Example:

[test]
key = "value"
test/key = "value=2"
key2 = 45

The '=' in the value breaks the folding. In addition you will not be able to completely paste the example in phpstorm

Plugin makes PhpStorm 6.0.3 freeze when editing a large ini file

Plugin makes PhpStorm 6.0.3 freeze for a few second at every characters typed in a large ini file.

Test :
When plugin is enabled, every characters typed causes phpstorm to freeze even with raised JVM options

When disabling only the plugins and leaving everything else as is, phpstorm no longer freezes when editing the same file.

Multivalued properties reported as duplicate key

Hello,

Is it possible to add support for the multivalued / array properties ? Actually these are reported as duplicate keys.

Here's an example :

; My INI file
[replication_settings]
; Simple setting
replicate = true

; Multivalued settings
replicate_servers[] = child_hostname1
replicate_servers[] = child_hostname2  # reported as duplicate
replicate_servers[] = child_hostname3  # reported as duplicate

; array / hash setting (working as intended)
debug_mails[[email protected]] = On
debug_mails[[email protected]] = Off
debug_mails[[email protected]] = On

Thanks !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.