Package net.ishchenko.idea.nginx.configurator

Examples of net.ishchenko.idea.nginx.configurator.NginxServersConfiguration.rebuildFilepaths()


        Document document = FileDocumentManager.getInstance().getDocument(element.getContainingFile().getVirtualFile());
        document.replaceString(element.getTextRange().getStartOffset(), element.getTextRange().getEndOffset(), newText);
        PsiDocumentManager.getInstance(element.getProject()).commitDocument(document);

        NginxServersConfiguration nginxServersConfiguration = ApplicationManager.getApplication().getComponent(NginxServersConfiguration.class);
        nginxServersConfiguration.rebuildFilepaths();

        return element;

    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.