Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in

peng lu

Avatar
  • Total activity 4
  • Last activity July 06, 2023 10:27
  • Member since July 03, 2023 09:53
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 1
Activity overview Posts (1) Comments (2)
  • peng lu commented, July 06, 2023 10:27
    Hi, “new scratch file ” how does it work, Whether it indexes the newly created file into the project?
    1. Community
    2. IntelliJ IDEA Open API and Plugin Development
    3. "Non-project Files Protection" FileEditorManager.getInstance(psiFile.getProject()).openFile(vf, true, true);
    • 0 votes
  • peng lu commented, July 05, 2023 07:48
    Hello Screenshots info,always show this dialog,i want disable display how to code。 my code VirtualFile vf = LocalFileSystem.getInstance().findFileByIoFile(new File(path));FileEditorManager.getInsta...
    1. Community
    2. IntelliJ IDEA Open API and Plugin Development
    3. "Non-project Files Protection" FileEditorManager.getInstance(psiFile.getProject()).openFile(vf, true, true);
    • 0 votes
  • peng lu created a post, July 03, 2023 09:53
    Answered

    "Non-project Files Protection" FileEditorManager.getInstance(psiFile.getProject()).openFile(vf, true, true);

    hello: I used  this code “FileEditorManager.getInstance(psiFile.getProject()).openFile(vf, true, true); ” when developing idea plugins to open files and show "Non-project Files Protection" when edi...
    1. Community
    2. IntelliJ IDEA Open API and Plugin Development
    • 2 followers
    • 5 comments
    • 0 votes
Copyright © 2000– JetBrains s.r.o.