I Am new on Velocity, and added its plugins folders (org.apache.velocity_1.7.0, org.vaulttec.velocity.ui_1.0.3) after extracting them from there jars http://veloedit.sourceforge.net , and put them in the plugins folder for my Eclipse (RSA) in that path ("C:\IBM\SDPShared\plugins"). but the .VM file opened using default editor not the plugin and can't find auto-complete there.
Note: i also can't see velocity view under Window -> show view -> other. so please advice how to get solution for this issue or another editor to use.
thanks in advance
I use http://code.google.com/p/veloeclipse/ which still works ok with current Eclipse 3.7.2. It's easiest if you install it by going to "Help - Install new Software - Add" and enter the Update-Site http://veloeclipse.googlecode.com/svn/trunk/update/
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!
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)
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 ;-)
How can I make changes to tml files - like for layout and other components - quickly visible via F5 in the browser? At the moment I keep those files under the src/main/-folder next to the java class. I already tried to 'repackage' the file but it isn't picked up by Tapestry - it only works for tmls under /webapps.
PS: Using IntelliJ with Maven
Cheers!
Heureka! I found an answer deep in the IntelliJ forum:
Try to add .tml pattern to Settings /
Compiler / Resource patterns, similar
to patterns already provided there.
IntelliJ didn't actually 'repackage' the tml files when they weren't under webapp/ before (although it did 'say' it - that's just mean!).
I found that rebuilding the project by using the keyboard shortcut Ctrl + F9 (or manually from the Build->Make Project menu option) and then reload the page in the browser will cause the changes to propagate.
Note: My *.tml files are located in the src/main/resources/company-name/components and src/main/resources/company-name/pages folders, which is the default location if you create your project using the mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org command.
IntelliJ Idea Ultimate 11.1.1