How do i refresh the workspace / project in notepad++ when the file-system changes ( files and folders added or removed ).
at the moment it does not keep up with the local file system and i have to re-create the project each time!! frustrating..
I followed Rechtar's suggestion.
I had a similar issue. Notepad++'s Project pane doesn't update when I change or create new files. What I ended up doing was downloading the explorer plugin through
PLUGINS > PLUGIN MANAGER > SHOW PLUGIN MANAGER
Then install the explorer plugin.
After it's installed go to PLUGINS > EXPLORER and select the explorer.
It's not really comparable to something like Eclipse's project navigation.
In Notepad++ 7.5.8, this issue has been fixed. I suggest you update your notepad++ to the latest version.
In order to do this, go to ? -> Update Notepad++ and it will automatically detect a new update package. Update Notepad++ normally.
Otherwise, you could download the update from here:
https://notepad-plus-plus.org/news/notepad-7.5.8-released.html
In case you're curious, here's the changelog for 7.5.8:
Notepad++ v7.5.8 bug-fixes:
1. Remove annoying "no update" notification.
2. Fix Folder as Workspace not updating regression.
3. Fixed crash issue by checking & unchecking "Disable extension column" option in preferences dialog.
4. Fixed a crash when trying to launch a secondary instance with command line arguments.
5. Fix "Explorer Here" from "Folder as Workspace" problem if folder name contains comma.
Included plugins:
1. NppExport v0.2.8 (32-bit x86 only)
2. Converter 4.2.1
3. Mime Tool 2.1
4. DSpellCheck 1.3.5
Updater (Installer only):
* WinGup (for Notepad++) v5.0.2
I'm currently running version 6.3.3 of notepad ++ and instead of adding the entire project all over again, you can right-click the folder in your project that has the new file and choose: "Add files...". From there, you can select your new file and open it. This will add it to your project in the appropriate folder.
There doesn't seem to be a proper way to do this in Notepad++. The Project panel was born just 2 or 3 releases ago, so it's naturally immature. I suggest that you install either the Explorer plugin or the Light Explorer plugin - they are much more usable.
Or better yet, go learn Vim and fall in love with the NERDTree ;-)
Related
I am trying to look at who changed a line in Intellij 15. I know I can use git blame but I want to learn how to do it correctly in intellij. I am right clicking on the line numbers on the file but when I get the context menu the annotate option is grayed out. What setting am I missing?
I looked at this page and couldn't find an answer. What am I missing?
If you check File > Settings > Version Control and see that your current project is listed under "Unregistered Roots", go to (on the menubar) VCS > Enable Version Control Integration. It will ask you to select the VCS tool you use, then click ok and you'll have all the integrations working (including the annotate feature which uses git blame).
The answer by #activedecay let me in the right direction. In my case, I have a multi-module project - each has a separate git repo - but we're all in the same workspace.
In my case, Intellij IDEA 2017.2, the Preferences -> Version Control (update from 2022: or Preferences > Version Control > Directory Mappings) panel shows a listing of all the project roots. The module with the disabled "Annotate" option was in the "Unregistered Roots" section.
To fix the problem, I selected the module and pressed the "+" icon in the lower toolbar to register the module root with Intellij VCS. The change is immediate and the "Annotate" options becomes available.
Looks like its a fresh project. First configure the Version Control like Git and than commit at least once. After first commit Annotate option will not be grayed out.
Also update git for any new version.
Your VCS is not enabled, hence the issue. Below is the solution for that:
Click on the VCS option in the menu bar
Enable VCS
Select your version control
Done, you should be able to use the annotate option.
Make sure the file is tracked by version control
Add the project to "Version Control" settings
I had the same issue with the Annotate being greyed out however VCS was already set up. Editing the current VCS Directory Mapping fixed the issue for me.
Go to
Settings -> Version Control
Click on the current entry for your
your application listed under projects.
Click the pen icon to edit it
Hit Ok, then ok to close the main dialog
Under the version control setting, make sure to remove any unregistered roots, I had a similar issue where there was a Unregistered roots entry was found, after removing this unwanted entry, I was able to annotate on file.
I the following two screen short will solve your problem:
1.
I hope after those steps you will be able to see who changed a line.
Here are the steps i followed :
Go to VCS -> Checkout from Version Control -> Git -> give the URL for your repository.
The annotate option will be enabled now.
I had exactly the same issue and managed to solve it by updating git.
The reason for that is that I have recent InteliJ Idea and an old 2.1.x git installed.
For Mac:
brew upgrade git
brew link git
followed by IDE restart.
Perhaps you did not check Git Integration while setting up a fresh installation of IntelliJ. It happened to me when I updated to a major release. When I was setting up the new program, I might have unchecked the Git Integration on the wizard installation.
In order to solve this for IntelliJ Community 2019.1, access File > Settings > Plugins, go to the tab Installed and make sure the plugin Git Integration is checked. You should restart the IDE in order to make the Annotate action work.
I had the same issue, but my VCS settings were all configured properly. It turns out that git itself was considering the file as a brand new file and therefore didn't have any history for it. The file was actually not new, but simply renamed. While my rename changes were unstaged, git understood it as two separate files: a deletion of the old file and creation of a new file. However, once I git added the "deleted" file and the "new" file, git understood that it was actually a rename and IntelliJ was able to annotate on the file as expected.
I'm not sure why git didn't understand the rename when it was unstaged, but hopefully this helps someone!
Every once in a while, I open an old project and I can't see any of the folders in the intelliJ project viewer. I can see all the files at the root.. but no folders. Yes I can delete the .iml file and .idea folder and re-create the project, but come on.. there's gotta be an easier way to fix this.
Is there?
If you look in project settings (ctrl-shift-alt-s), you should see a module structure. If you instead see "Nothing to see", do the following:
In Project Structure -> Modules, press the + button,
press enter (since, for some weird reason, it won't let me click on "New Module")
In the window that pops up, click on the "..." next to Content root, find your root folder, and select it
Press ok
ignore any warning that says the name is already in use (or to that effect)
the simplest solution worked from me, just delete the .idea folder
keep in mind this will delete all of idea's current project configuration, it'll create the folder with default settings when reload the project again... but all other configuration will be lost if not properly backed-up
It might be because the project didn't have any modules defined. Try adding existing source code by hitting File > New > Module from Existing Sources and select the parent directory of the project for source code
Go to pom.xml file -> right click -> maven -> generate source and update folders. You will see your files and folder structures in left hand side.
All the project-specific settings for a project opened through Intellij IDE are stored in the .idea folder.
The .idea folder (hidden on OS X) in the solution root contains
IntelliJ’s project-specific settings files. These include per-project
details such as VCS mapping and run and debug configurations, as well
as per-user details, such as currently open files, navigation history
and currently selected configuration.
So, if you are not able to see the project file structure in your Intellij IDE, just delete the .idea folder,
rm -rf .idea
and reload the project, then after reload you'll be easily able to get your project structure displayed.
Thank you very much. I just remove the .idea folder and works in my case.
rm -rf .idea
For me, the java folder was not showing up. I went into File->Project Structure. In the second column, I selected on _main. In the third column, I selected the tab "sources". In what I call the fourth column, where the "+Add Content Root" is shown, I verified, the java source/folder was present. In my case, there was an extra source folder, which was the current location. I removed this, applied and the java folder immediately showed up.
Right click on the Project name -> Open Module Setting -> Check the application context path set it up at your project location.
Check your idea.log -- it may have some details explaining why or what is happening (Help | Reveal log in Explorer). Possibly one of the config files got corrupted.
You can always backup and delete .idea subfolder (project settings) and re-create project from scratch. When it's wroking again (after basic configuration) you may copy some of the files from that folder back to recover some of your settings (if there were many).
This happened to me on a new computer when I opened up a Java project in the newly installed Intellij.
The problem was that I had not installed any JDK on the machine.
I had to install a JDK and then go into the settings at ctrl-shift-alt-s and add a JDK by specifying the folder where I installed it. It's possible that IntelliJ would have found it if I closed it and reopened it.
In my case the solution was to create a new project, specifying the project type and creating it within the same directory path as the project that does not load the project files correctly.
PhpStorm automatically detects that the directory exists and gives you the option to create project from existing sources.
This can be found under:
File --> New project...
For gradle users: "Reload All Gradle Projects" option should help.
Suddenly, IntelliJ IDEA is showing the following module view with a strange yellow colour in the background. I don't know how to get my module back, because it is not being shown:
Do you know how can I see my project folder back?
Thanks
This is way late, but deleting my .idea folder did the trick.
Close IntelliJ
cd <project-path>
rm -rf .idea
You can go to File-> Project Structure and then define it as a Source Folder
In Intellij, Right click on your parent pom file and click add as maven project
For Maven Projects that don't show up you can right click your pom.xml and click 'Add as Maven Project'.
In my case Modules kept on disappearing and I managed to fix it with these simple steps:
In the Project panel, right click to see the context menu
Select "Open Module Settings"
Select the Module that is not shown in the tree view
Select the first tab labeled "Sources"
Press the "+ Add Content Root" link
Select the root folder where the files for this module are located
Once the folder has been scanned, press the OK button and you will see the Module appear
I had a similar issue. Other answers did not solve the problem for me.
I ended up uninstalling IntelliJ, then installing a new copy. When prompted to import previous settings, I selected the option of not to import, then set up IntelliJ from scratch. After re-install/re-setup, I was able to open my project folder and all of the modules showed like before. Some how my IntelliJ got fubared, my guess is that it happened when I updated it last week.
For me, I must've deleted my .iml file somehow. Files with .iml contain configuration for your modules. The problem was that my project module was not being loaded without it. I'm using gradle, syncing my project with gradle regenerated whichever *.iml was necessary to build. Here is a post that provides a succinct explanation.
IntelliJ IDE | .iml File lost or deleted
Also - I know this issue is probably long gone and out of his head but for whoever may come across this issue, the above was the solution for me.
Check if the FACETS panel is blank
If it's blank .Then click the "+" button to add
one.
For me .I need a android facet.
For details.go to this link
Hope this is work for you.
I assume you are used to working with Eclipse. Intellij IDEA uses the same idea, but different names.
A Eclipse workspace is equal to IDEA's project.
A Eclipse project is equal to IDEA's module.
I do not have access to the internet from eclipse so I can not add software using update sites. I have tried several different methods but none seems to be working.
I am using the JBoss Dev Studio version of kepler, but I figured this might be a general eclipse question.
Tried Help- Install New Software - Add... - browse to zip file and I get "could not find jar:file:/blahblahblah/jautodoc_1.10.0.zip!/" Nothing.
Tried unzipping it so we end up with eclipse/dropins/jautodoc_1.10.0/[features | plugins followed by restart. Nothing.
Tried unzipping it so we end up with eclipse/dropins/[features | plugins] followed by restart. Still nothing.
What is the definitive way to do this?
Follow these steps for Installation:
Download jautodoc_1.11.0.zip file from :
http://jautodoc.sourceforge.net/index.html#download
Unzip the jautodoc_1.11.0.zip file from the eclipse folder.
Verify the following files get copied:
Plugin folder :
net.sf.jautodoc.velocity_1.11.0.jar
net.sf.jautodoc_1.11.0.jar
Features folder :
net.sf.jautodoc.feature_1.11.0
Restart eclipse.
The JAutodoc feature should be available in Windows --> Preferences
Usage :
Select the whole file or method or attribute --> Rightclick --> Add Javadoc
Visit the following link for further info :
http://www.roseindia.net/IDE/Eclipse/jautodoc-plugin.shtml
I finally figured it out. The correct place to install the plugin and features folders is in
$ECLIPSE_HOME/studio/dropins/jautodoc
I had to create the dropins and jautodoc folders.
Perhaps it goes without saying that you can name the sub-folder containing features and plugins to whatever you want.
So we have a large project and I use the intellij navigate to file cntrl+shift+n all the time. I don't know what happened but now when I try and use it - it can't find anything. I haven't recently installed any plugins or anything.
I've restarted intellij a couple times, checked the little filter icon to make sure I'm not filtering on anything...nothing seems to be working. Any ideas what I need to do to get it working again?
Try 11.1.2 build and File | Invalidate Caches. If it doesn't help, contact JetBrains support with a sample project to reproduce it.
Also try to verify if some plugins are updated, and disable them to try if some of them is the problem.
In my case it was:
Apache config (.htaccess) support Version 131.61
Make sure your keymap is set to Default. You may be using different keymap, so go to File > Setting and search for Keymap. You can change it there.
When you press Ctrl+Shift+N the Find Window will pop up, check the filter icon (on top right of the Find Window) on the search box and ensure that the file type you are looking for is checked.
For me restarting the Webstorm with the project folder again sorted it out.
File -> New -> Project
Just restarting it kept the go to file source pointed to the Webstorm app directory.
I program in rust.
So for me installing the missing rust plug-in solved it.
I deleted the project and then reimported it using maven(right corner of IDE) -> plus icon to add project again
What helped me was to run an update (Help > Check for updates) and update what was needed (2 plugins)