Categories


Authors:
ivan_veselovsky
opensource software

Extended Code Sense

Products: IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm, AppCode, Android Studio, 0xDBE

Vendor: Ivan V.

Email: ivan At veselovsky.net

Website: http://github.com/ivan-v...ter/extended-code-sense/

License: http://www.apache.org/licenses/LICENSE-2.0

Description:

Provides some platform code-sense functionality enhancements.
Downloads: 12775
Rating:
Participated in rating: 4
Version Since Build Until Build File/URL Size (Kb) Date Details
1.3. 80.8000. . Download 55.62 2010-07-26 02:57:42 details
. .
10 updates are hidden show all updates

Recent change notes:

Version 1.3 changes

  • fixed IndexOutOfBoundsException in edu.jetbrains.completionWithLiveTemplates.LiveTemplatesCompletionProvider, line 284

Version 1.2 changes

  • fixed exception "java.lang.NoSuchMethodError: com.intellij.codeInsight.template.CustomLiveTemplate.isApplicable(Lcom/intellij/psi/PsiFile;I)Z" that happened when running under IDEA 9.0.2 and earlier builds.

Version 1.1 changes

  • fixed arg-live-templates invocation in in-word mode.

Version 1.0 changes

  • fixed invocation of live templates with arguments.
  • fixed context dependency of the templates shown in the completion popup.
  • added options to control auto popup invocation in out-of-word context.
  • the tests now cover the main functionality.

Version 0.7 changes

  • revised the base logic of the auto-popup -- now the logic is more straight and psi-independent.
  • fixed bug: live templates not applicable to the context were shown (e.g. in comments)
  • the tests somewhat enhanced

Version 0.4 changes

  • Fixed auto-popup in Php array index expressions, like myArr[| .

Version 0.3 changes

  • Auto pop up now works after "[" (array length expression).
  • Auto popup feature extended for all languages, not only Php.

General usage instructions:

Features
* Suggested code completion pops up automatically after some timeout wherever an identifier is expected in your code.
* The code completion window shows matching \"Live Templates\" among other completion possibilities.

Installation
* Download the binary (extended-code-sense.jar)
* Locate the folder where your PhpStorm holds the user\'s plugins: see file /bin/idea.properties and find there property
\"idea.plugins.path\" (e.g. in my machine idea.plugins.path=${user.home}/.WebIde10/config/plugins).
* Copy the downloaded plugin .jar archive exactly into that folder (not into a subfolder).
* Restart your PhpStorm it is running.
* If the installation is successful, you should see the \"Extended Code Sense\" plugin in the list of installed plugins, and the plugin should be activated.

Building From Source
* Clone the GIT repository http://github.com/ivan-veselovsky/repka/tree/master/extended-code-sense/ .
* Open the checked out project in IDEA and build it using the menu command.
* Create the deployable archive using \"Prepare Plugin Module for Deployment\" menu.

Comments:

Anonymous
Rated:
2010-09-15 17:59:58
Thanks for this great plugin. I hope you can find a way to stop the space key from applying autocomplete as pgarcia describes.
.
aristidesfl
2010-09-14 19:10:32
Zen coding is unusable with this activated..
.
Anonymous
2010-09-09 15:11:45
Found disappointing in usage with "::".

class test
{
public static function t() {}
}
//now try to print
test: - when you press ":", result will be
test::
.
Anonymous
Rated:
2010-09-09 11:12:05
THANK YOU! Спасибо!
Without this plugin phpStorm looks weird near with other IDEs.
.
aristidesfl
Rated:
2010-08-28 23:56:17
Great plugin!

One problem tough:
- When using this plugin, I have to press tab twice to trigger the zen coding.
This is a problem caused by the dialog that is displayed when no matches are found.
Already reported in youtrack: http://youtrack.jetbrains.net/issue/WI-2870
Anyway, it seems that they are not too concerned with that so it would be awesome if you guys could fix it too with the plugin.
.
ivan_veselovsky
2010-08-05 09:03:24
The plugin is already suitable for IDEA. The description which mentions PhpStorm is a bit obsolete, but the site juts doesn't allow to update it. :)
.
Anonymous
2010-08-05 03:45:12
Could you please extend this plugin to Intellij IDEA?

Thank you
.
ivan_veselovsky
2010-08-01 12:13:36
Hi, Pepe,
yes, the completion variant is really applied with space, tab and Enter keys. This, in fact, the behaviour of the platform that is currently not controlled by the plugin: the plugin just invokes standard popup which behaves exactly in the same manner as the default one invoked with Ctrl+Space. Needs to be investigated if that possible to change these keys by the means of the plugin in case of auto-popped up completions, however, the implementation may be tricky.
.
pgarcia
Rated:
2010-08-01 03:44:07
First of all, I got to say thanks, this plugin rocks, and it's the reason why I switched to PhpStorm.

Feedback wise, so far my experience has been great, I've been instantly more productive. However, there is just one annoyance. I've noticed hitting the space key autocompletes the suggested item. Could this be turned off?

From testing, the following keys accept the autocomplete suggestion:

- Tab key
- Space key
- Enter key

Is it possible to remove the space key trigger? or make these available in the configuration as checkboxes?

Thanks again.
.
ivan_veselovsky
2010-08-01 01:47:38
2Pepe Garcia:

>1) Set "auto activation delay, ms" to "1" that way the autocomplete feels snappy.
I'm not sure all the users need such "instant" auto-activation. Instant popup may be considered annoying. I intentionally made the activation delay to be a bit slower than the default activation delay (700ms vs. 500ms) to pop up if the user relly doesn't know what to type.
Actually we'll collect more user's feedback on this subject, and maybe we'll adjust the default setting if most of the users prefer that.

>2) PLEASE disable "Enable out-of-word complete auto activation."
This option is Off by default. If you uninstall the plugin completely (remove it, its configuration and its caches), and then install it again, this option will be 'false'. If this is not the case on your environment, this is a bug that needs to be investigated. Please provide more detail: the platform version, the installed plugin version, the installation sequence, etc. (I may suspect that 'true' setting might persist from a previous veriosn of the plugin.)
.
Anonymous
2010-07-22 12:23:23
Completely broke PhpStorm 1.0.1

.