Code > surround With not run

Hello,

I want to organize my code and I want to using code surround with... for that.
But Nothing action. I can test this function with other source code and the function run correctly.

Can you say me what my surround with... don't run with this sample code please ?


    private Stage stage;
    private Scene scene;
    private BorderPane root;
    private ToolBar toolBar;
    private SplitPane splitPane;
    private TreeView pageTree;
    private Pane pageArea;
    private Pages pages;
    private Page currentPage;
    private String currentPagePath;
    private Node currentPageView;
    private BreadcrumbBar breadcrumbBar;
    private Stack<Page> history = new Stack<Page>();
    private Stack<Page> forwardHistory = new Stack<Page>();
    private boolean changingPage = false;
    private double mouseDragOffsetX = 0;
    private double mouseDragOffsetY = 0;
    private WindowResizeButton windowResizeButton;
    public boolean fromForwardOrBackButton = false;
    private StackPane modalDimmer;
    private ProxyDialog proxyDialog;
    private ToolBar pageToolBar;
    private JSObject browser;
    private String docsUrl;


Thank for your help

6 comments

Hi Denis,

I understand where I can find this function but for me this action return nothing state changed.
But for others sample code this function seems to be good work.

Within a method ok but wrap code with region comment nothing change or error just nothing reaction.

0

Am I right understanding that you say that when 'surround with <editor-fold>' or 'surround with region/endregion' is invoked, it doesn't insert the comments?

Denis

0

Yes exactly. nothing change anywhere in Intellij.

0

Works fine at my local environment. Are there any exceptions at idea.log (main menu | help | show log)?

Denis

0

When I open my project, log say that :
2013-05-12 15:22:07,350 [13778689]   INFO - ellij.project.impl.ProjectImpl - 132 project components initialized in 68 ms
2013-05-12 15:22:07,359 [13778698]   INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 9 ms
2013-05-12 15:22:07,445 [13778784]   WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix icon path=/ideTalk/user.png class=class icons.IdetalkCoreIcons
2013-05-12 15:22:07,448 [13778787]   WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix icon path=/ideTalk/user.png class=class icons.IdetalkCoreIcons
2013-05-12 15:22:07,460 [13778799]   INFO - .roots.impl.DirectoryIndexImpl - Directory index initialized in 9 ms, indexed 2107 directories
2013-05-12 15:22:07,460 [13778799]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/sqldialects.xml file is null
2013-05-12 15:22:07,461 [13778800]   INFO - pl.PushedFilePropertiesUpdater - File properties pushed in 1 ms
2013-05-12 15:22:07,479 [13778818]   INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 14 ms
2013-05-12 15:22:07,479 [13778818]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 1 files to update
2013-05-12 15:22:07,489 [13778828]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 10 ms
2013-05-12 15:22:07,780 [13779119]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/codeStyleSettings.xml file is null
2013-05-12 15:22:07,780 [13779119]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/projectCodeStyle.xml file is null
2013-05-12 15:22:07,784 [13779123]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/fileColors.xml file is null
2013-05-12 15:22:07,927 [13779266]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/IntelliLang.xml file is null
2013-05-12 15:22:07,981 [13779320]   INFO - unicator.p2p.UserMonitorThread - Force finding users
2013-05-12 15:22:08,788 [13780127]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/picocontainer.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/openapi.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/idea.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jdom.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/ecj-4.2.1.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/optimizedFileManager.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/trove4j.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/log4j.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/netty-3.6.2.Final.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/util.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/forms_rt.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/annotations.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jgoodies-forms.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/oromatcher.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/idea_rt.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/resources_en.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jna-utils.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/nanoxml-2.2.3.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/asm4-all.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/protobuf-2.4.1.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jps-server.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jna.jar;C:/Program Files (x86)/Java/jdk1.7.0_10/lib/tools.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/ant/lib/ant-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/maven/lib/maven-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/maven/lib/maven3/plexus-utils-2.0.6.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/javaFX/lib/javaFX-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/javaFX/lib/common-javaFX-plugin.jar
2013-05-12 15:22:08,788 [13780127]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/picocontainer.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/openapi.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/idea.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jdom.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/ecj-4.2.1.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/optimizedFileManager.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/trove4j.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/log4j.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/netty-3.6.2.Final.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/util.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/forms_rt.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/annotations.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jgoodies-forms.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/oromatcher.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/idea_rt.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/resources_en.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jna-utils.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/nanoxml-2.2.3.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/asm4-all.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/protobuf-2.4.1.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jps-server.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jna.jar;C:/Program Files (x86)/Java/jdk1.7.0_10/lib/tools.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/ant/lib/ant-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/maven/lib/maven-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/maven/lib/maven3/plexus-utils-2.0.6.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/javaFX/lib/javaFX-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/javaFX/lib/common-javaFX-plugin.jar
2013-05-12 15:22:08,790 [13780129]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/picocontainer.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/openapi.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/idea.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jdom.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/ecj-4.2.1.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/optimizedFileManager.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/trove4j.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/log4j.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/netty-3.6.2.Final.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/util.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/forms_rt.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/annotations.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jgoodies-forms.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/oromatcher.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/idea_rt.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/resources_en.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jna-utils.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/nanoxml-2.2.3.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/asm4-all.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/protobuf-2.4.1.jar;/C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jps-server.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/lib/jna.jar;C:/Program Files (x86)/Java/jdk1.7.0_10/lib/tools.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/ant/lib/ant-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/maven/lib/maven-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/maven/lib/maven3/plexus-utils-2.0.6.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/javaFX/lib/javaFX-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1/plugins/javaFX/lib/common-javaFX-plugin.jar
2013-05-12 15:22:08,949 [13780288]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 1691 ms
2013-05-12 15:22:09,181 [13780520]   INFO - or.jabber.impl.JabberTransport - Jabber connected
2013-05-12 15:22:09,964 [13781303]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/checker.xml file is null

0

Please sign in to leave a comment.