Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cant' install sublimemaven plugin successfully

I follow this https://coderwall.com/p/etesrq to install the sublimemaven plugin for my sublime2. All steps seems ok, but I can't get the 'Maven' menu item in 'Tools->Build System'. I have added the "m2_home": "F:/jill/job/software/apache-maven-3.0.4", add "maven_menu_commands": by following https://github.com/nlloyd/SublimeMaven. and restart sublime2 several times. but still can't get it. Could some body help? Thanks

like image 702
user913659 Avatar asked Jan 08 '14 02:01

user913659


People also ask

Is there a way to use Sublime Text with Maven?

If you build your project in Maven and use Sublime Text for coding, this trick may be useful. I assume you have Package Control already installed. First, add repository with SublimeMaven plugin.

How to fix WordPress plugins not installing?

If the website’s owner asks you to edit or install a plugin, you need to ask to increase your user role. You can find the name of the administrator at WordPress Users > All Users Menu. If you see a syntax error while trying to install plugins to WordPress, there’s a faulty code in your plugins or themes.

Why is my Plug-in not detected after installation?

Plug-in isn’t detected after installation. If you get the notification to install the plug-in even after installing it, restart your browser. If you’re running Windows 8 on your PC, make sure that you’re running the version of the browser for the desktop.

How to save and run a plug-in file?

A dialog box displays with options to save the plug-in file or run it. Click Save. Specify a location on your computer to save the file, and then click Save. Locate the saved plug-in file on your computer and double-click to run it. If you get the notification to install the plug-in even after installing it, restart your browser.


2 Answers

I find that I don't have "maven" in "tools" -> "build system" either, but using cmd + shift + p , then type in "maven", I can see several commands, one of them is "maven: Run...", I use this command when I need to specify one. Commonly, other default maven commands could satisfy your requirement.

like image 185
user2951392 Avatar answered Oct 14 '22 03:10

user2951392


Nick Lloyd's SublimeMaven plug-in installed nicely for me on Sublime Text 3 but showed build commands only in the Command Palette (CTRL+SHIFT+P).

Only after I added Andres Koetter's configuration file to the Packages/User directory of my portable SUBLIME_TEXT_3/Data/ dir (or ~/.config/sublime-text-3/ for some) I found a Maven build option in the Tools > Build menu. This new option enables Sublime Text 3's build system run commands for Maven builds, that is:

  • Build (CTRL+B) : run default build configuration
  • Build with ... (CTRL+SHIFT+B) : select mvn goals, profiles, command-line options, etc.
like image 1
krevelen Avatar answered Oct 14 '22 04:10

krevelen