Recent Web IDE Blog Posts

Jan 20, 2010 Web IDE EAP (build 94.149)

This build brings you advancements in PHP editor, PHPUnit support and remote host access, plus some fixes in JavaScript and search functionality. Complete details available in Web IDE issue tracker.

PHP

  • syntax checks for duplicate/forbidden class and interface method visibility/abstractness/static modifiers
  • syntax checks for duplicate goto labels
  • method/function separators
  • next/previous method/function navigation
  • formatting of HTML code within PHP files

PHPUnit

This EAP brings you an ability to execute PHPUnit tests right on your server. You just need to configure PHPUnit on server and set up deployment mappings to contain your tests location. When done, ‘PHPUnit on Server’ run configuration will upload the files, execute the tests and show the results in a few clicks! (Don’t forget to review your debug mappings if you’re going to debug the tests.)

Remote host access

One more feature is the remote permissions management. From now you may overwrite the default permissions assigned to the uploaded files and folders on server: just specify the overrides in ‘Settings | Remote Deployment | Options’ pane. Besides, you may change the permissions by hands: use ‘Change Permissions’ context menu action on a Remote Host view. When invoked for the folder, its contents is processed recursively.
Note: changing remote permissions may be not supported by your FTP/SFTP server.
And for the dessert: use Ctrl+Shift+C at Remote Host view to copy the selected path(s) to the clipboard.

Download Web IDE EAP build 94.149 for your platform from project EAP page.

-JetBrains Web IDE Team

Dec 24, 2009 Web IDE EAP (build 94.48)

This build is targeted to to bring some more happiness to you for the holidays so we focused on removing some annoyances from editor and adding several most requested features. Full listing available in Web IDE issue tracker.

In the editor you will experience less bugs related to code formatting and less “false positive” warnings from parameter inspection in different cases.

The most notable change is that PHP run configurations are rearranged a bit. From now you can run and debug both local command line and local or remote web applications.

To use PHP Console configuration, first specify the path to your PHP installation in Settings | PHP page. Then all you need is to right-click a PHP file in Project view or in the editor and choose ‘Create <filename.php>‘.

PHP on Server requires more configuration. First, add Remote Host in the Settings | Remote Hosts page and specify Web root URL and the (S)FTP configuration (the latter is optional but useful if you want your project files to be uploaded automatically on run). Then, go to Remote Deployment page to make this host active and configure the mappings between local and server paths (and deployment paths if you’re going to upload anything).

Once you’ve set this up, your run configuration is accessible from the context menu. To turn auto-uploading, enable the ‘Upload to <servername>‘ checkbox at the bottom of the run configuration editor page and press ‘‘ button to choose the paths to upload.

Note: please review your existing run configurations to be sure all the parameters are still in place.

Also there are some improvements in Remote Host View. With this EAP you may create folders and delete the items right from the server tree. From now the mapped paths are highlighted so you can easily see the parts of the server tree you’re working on. And the last one: once deployment mappings are configured, navigation from- and to the deployed items is extremely easy with Show In… action (Alt+F1 on Windows). Also, double-click on a deployed remote file will open the the corresponding local one in the editor.

Our infrastructure is getting ready for WebIDE and starting from this build you should receive notifications about fresh EAP builds (see IDE Settings | Update) and you will see only compatible plugins in the plugin list (IDE Settings | Plugins).

Download Web IDE EAP build 94.48 for your platform from project EAP page.

Happy holidays!
-JetBrains Web IDE Team

Dec 24, 2009 Smarty templates editing support in Web IDE

Smarty is a nice and popular template engine for separating PHP scripts from HTML layout code.

And of course Web IDE supports editing of Smarty .tpl files and provides such useful features as:

  • configurable syntax highlighting for keywords, strings, variables and braces
  • syntax errors highlighting
  • Smarty functions and attributes completion
  • paired braces and quotes insertion
  • commenting of the selected block (Ctrl + / / Cmd /)
  • automatic closing tag (function) insertion

Try it and let us know what you think. Vote for existing Smarty issues in Web IDE bug tracker and create your ones.

Surely, this functionality is available in Web IDE PHP Developer edition only, and also in IntelliJ IDEA.

Develop with pleasure!
-JetBrains Team