Need help with idea-nginx?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

ishchenko
133 Stars 30 Forks Do What The F*ck You Want To Public License 107 Commits 29 Opened issues

Description

nginx server support plugin for IntelliJ IDEA

Services available

!
?

Need anything else?

Contributors list

# 476,274
HTML
Java
43 commits
# 204,060
HTML
reddit
Perl
ngx-lua
36 commits
# 897
Electro...
TypeScr...
intelli...
rpm
2 commits
# 319,391
Postgre...
HTML
Erlang
MySQL
1 commit

Overview

  • Configuration file syntax support, run/reload configs/stop support. Works on all three platform IDEA runs on (Windows, Linux, Mac). Works for all Jetbrains platform products (IDEA, RubyMine, PhpStorm, WebStorm, PyCharm).
  • The plugin has won a Honorable Mention Award in 2009-2010 Plugin Contest! Yay! http://blogs.jetbrains.com/idea/2010/06/announcing-the-ideal-plugins-for-2009-2010
  • Detailed plugin description in Russian http://habrahabr.ru/blogs/nginx/66255
  • The plugin in Jetbrains plugin repo http://plugins.intellij.net/plugin/?id=4415

nginx plugin features

Features

  • Supports all three platforms IDEA runs on (Windows, Linux, Mac).
  • Server instance configuration are application-wide. Run configuration can use any of configured servers (similar to j2ee servers support in IDEA).
  • -V output is respected and --conf-path/--pid-path compile-time settings are used. --prefix option is also supported. Though some compile-time parameters combinations support may be buggy. Resulting configuration and pid paths are absolute and can be edited. Edit if -V parsing failed or else.
  • Configuration file syntax is supported. Configuration files are not displayed in project view, but can be opened with ctrl+shift+n (go to file) shortcut. Neighbour configuration files can also be opened with "go to file". All files in configuration file's directory are available for "go to file" and are treated as nginx configuration files. Child directories are also scanned (1 level only), thus some default configuration locations can be opened (e.g. /etc/nginx/nginx.conf and some stuff in /etc/nginx/sites-available). I doubt if more complex logic is needed here (e.g. opening files listed in "include" directives only).
  • Log files can be shown in tabs next to console.
  • $variables support. Autocompletion, quick documentation lookup and highlighting are available. But no support in log_format value and no parent context checks yet.
  • Autoformatting
  • Opening included files with ctrl+b

Known issues

  • Sometimes nginx displays wrong line number on error message. This is a nginx bug.
  • No support for ambiguous directive validation, e.g.
    server
    may reside in
    http
    ,
    mail
    or
    upstream
    sections

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.