1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-08-18 10:31:44 +02:00

Compare commits

..

9 Commits
0.31 ... 0.32

Author SHA1 Message Date
Andrey Vlasovskikh
aa75245d79 Note about Android Studio 2013-11-15 17:06:13 +04:00
Andrey Vlasovskikh
e8c97ba6bf Bumped version 2013-11-15 17:05:45 +04:00
Andrey Vlasovskikh
27bbae3ccd Minor changes to README 2013-11-15 16:59:00 +04:00
Andrey Vlasovskikh
305c03458a Note about Android Studio 2013-11-15 16:57:43 +04:00
Andrey Vlasovskikh
8143114a86 Revert "Fixed usages of deprecated platform API methods"
This reverts commit d3d63395b3.
2013-11-15 16:36:56 +04:00
Andrey Vlasovskikh
a39a56cd39 Dropped JComboBox generics 2013-11-15 16:16:36 +04:00
Andrey Vlasovskikh
c1c076830a Merge remote-tracking branch 'origin/master'
Conflicts:
	build.properties
2013-11-15 16:11:53 +04:00
Andrey Vlasovskikh
d3d63395b3 Fixed usages of deprecated platform API methods 2013-11-15 16:09:57 +04:00
Andrey Vlasovskikh
5a9a53d235 Use moved ListCellRendererWrapper for compatibility with IntelliJ builds
132.1052+
2013-11-15 16:03:17 +04:00
5 changed files with 32 additions and 26 deletions

View File

@@ -4,6 +4,12 @@ The Changelog
History of changes in IdeaVim for the IntelliJ platform.
0.32, 2013-11-15
----------------
Fixed API compatibility with IntelliJ platform builds 132.1052+.
0.31, 2013-11-12
----------------

View File

@@ -2,8 +2,8 @@ IdeaVim
=======
IdeaVim is a Vim emulation plug-in for IDEs based on the IntelliJ platform.
IdeaVim can be used with IntelliJ IDEA, RubyMine, PyCharm, PhpStorm, WebStorm
and AppCode.
IdeaVim can be used with IntelliJ IDEA, RubyMine, PyCharm, PhpStorm, WebStorm,
AppCode and Android Studio.
Resources:
@@ -18,10 +18,10 @@ Installation
------------
Use the IDE's plugin manager to install the latest version of the plugin.
Start the IDE normally and enable the Vim emulation using "Tools | VIM
Start the IDE normally and enable the Vim emulation using "Tools | Vim
Emulator" menu item. At this point you must use Vim keystrokes in all editors.
If you wish to disable the plugin, select the "Tools | VIM Emulator" menu so
If you wish to disable the plugin, select the "Tools | Vim Emulator" menu so
it is unchecked. At this point IDE will work with it's regular keyboard
shortcuts.
@@ -32,7 +32,7 @@ Summary of Supported Vim Features
Supported:
* Motion keys
* Deletion/Changing
* Deletion/changing
* Insert mode commands
* Marks
* Registers
@@ -49,9 +49,9 @@ Supported:
Not supported (yet):
* Key mappings
* Various less used commands
* Jump lists
* Window commands
* Jump lists
* Various less used commands
Please see the file [index.txt](https://github.com/JetBrains/ideavim/blob/master/index.txt)
for a list of commands covered with tests.
@@ -130,7 +130,7 @@ Development
1. Fork IdeaVim on GitHub and clone the repository on your local machine.
2. Open the project in IntelliJ IDEA 11+ (Community or Ultimate) using "File |
2. Open the project in IntelliJ IDEA 12+ (Community or Ultimate) using "File |
Open... | /path/to/ideavim".
3. Set up a JDK if you haven't got it yet. Use "File | Project Structure | SDKs

View File

@@ -1,4 +1,4 @@
version-id:0.31
platform-version:110.0
version-id:0.32
platform-version:120.0
idea.download.url=http://download.jetbrains.com/idea/ideaIU-12.1.zip
build.number=x

View File

@@ -3,6 +3,10 @@
<id>IdeaVIM</id>
<change-notes>
<![CDATA[
<p>0.32:</p>
<ul>
<li>Fixed API compatibility with IntelliJ platform builds 132.1052+</li>
</ul>
<p>0.31:</p>
<ul>
<li>Various bug fixes</li>
@@ -23,19 +27,12 @@
<ul>
<li>Fixed reconfigure Vim keymap for user-defined base keymaps</li>
</ul>
<p>0.27:</p>
<ul>
<li>Better Vim keymaps for Mac OS X</li>
<li>Ask if the plugin should enable repeating keys in Mac OS X</li>
<li>Fixed a long-standing bug with code completion and repeat last change command ('<code>.</code>')</li>
<li>Various bug fixes</li>
</ul>
<p>See also the complete <a href="https://github.com/JetBrains/ideavim/blob/master/CHANGES.md">changelog</a>.</p>
]]>
</change-notes>
<description>
<![CDATA[
<p>Vim emulation plug-in for IDEs based on the IntelliJ platform. IdeaVim can be used with IntelliJ IDEA, RubyMine, PyCharm, PhpStorm, WebStorm and AppCode.</p>
<p>Vim emulation plug-in for IDEs based on the IntelliJ platform. IdeaVim can be used with IntelliJ IDEA, RubyMine, PyCharm, PhpStorm, WebStorm, AppCode and Android Studio.</p>
<p>Supported functionality:</p>
<ul>
<li>Motion keys</li>

View File

@@ -18,7 +18,7 @@
package com.maddyhome.idea.vim.ui;
import com.intellij.ide.ui.ListCellRendererWrapper;
import com.intellij.ui.ListCellRendererWrapper;
import com.intellij.openapi.keymap.Keymap;
import com.intellij.openapi.keymap.KeymapManager;
import com.intellij.openapi.keymap.impl.KeymapManagerImpl;
@@ -53,16 +53,19 @@ public class VimKeymapPanel {
}
myKeymapComboBox.setModel(new DefaultComboBoxModel(keymaps.toArray(new Keymap[keymaps.size()])));
myKeymapComboBox.setRenderer(new ListCellRendererWrapper(myKeymapComboBox.getRenderer()) {
final ListCellRendererWrapper<Keymap> renderer = new ListCellRendererWrapper<Keymap>() {
@Override
public void customize(final JList list, final Object value, final int index, final boolean selected, final boolean cellHasFocus) {
Keymap keymap = (Keymap)value;
if (keymap == null) {
return;
public void customize(final JList list,
final Keymap value,
final int index,
final boolean selected,
final boolean cellHasFocus) {
if (value != null) {
setText(value.getPresentableName());
}
setText(keymap.getPresentableName());
}
});
};
myKeymapComboBox.setRenderer(renderer);
final String previousKeyMap = VimPlugin.getInstance().getPreviousKeyMap();
myKeymapComboBox.getModel().setSelectedItem(preselectedKeymap != null ? preselectedKeymap :