You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary : project always turn to be null, and dataLookup too. I wonder if there is another way to get the path of opened project by user. For example,user will install my plugin and it will try to get .json under the root folder of user's local project.
Thanks for any help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am devloping my plugin on netbeans platform which need to get .json from currently opened project.
I find some solution on Internet, but all failed.As following:
https://stackoverflow.com/questions/9428903/correct-way-to-get-the-file-path-of-the-currently-opened-project-in-netbeans/16241955
code :
Then , I tried :
Summary : project always turn to be null, and dataLookup too. I wonder if there is another way to get the path of opened project by user. For example,user will install my plugin and it will try to get .json under the root folder of user's local project.
Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions