I am using eclipse 2.1.1 and I have downloaded the
EE2e Plug in.
It seems that the plug in is configured
(I've copied the necesay resources, and eclipse found
it and installed it) properly;
however pressing the TAB character does nothing than
moving the cursor 4 characters to the right.
Case 1:The editor which EE2E offers is not opened.
Case 2:EE2E does not understand the extension.
==================================================
Case 1:The editor which EE2E offers is not opened.
Please check that a menu buffer has the EE2E.
Supposing EE2E does not exist in a menu bar, the
following two cases can be considered.
1-1:What is not Editor of EE2E is opened.
1-2:The error has occurred.
===================================================
1-1:What is not Editor of EE2E is opened.
Please choose a file to use from Package Exprloer.
Please display a pop up menu from a file.
Please choose Open With from pop up menu.
Please choose EE2E Editor.
===================================================
1-2:The error has occurred.
In this case, it is necessary to make an error specify.
Please let me know the contents of Error Log View.
Error Log View is opened as follows.
Windows is chosen from Menu bar.
Show View is chosen from Windows.
Other is chosen from Show View.
Show View Dialig is opened.
PDE Runtime is chosen from Show View Dialog.
Error Log is chosen from PDE Runtime.
===================================================
2:EE2E does not understand the extension.
EE2E guesses the major-mode(Indent rule) from extension.
Probably the extension is opened with the text-mode.
I open a .java file with 'EE2E java editor', the EE2E(c)
menu appears at the menubar. When I press tab , no matter
where the cursor is in the file, it always goes 4 spaces to
the right (just like when I open the file with the 'java
editor'). But when I choose 'Indent(under mounting)' from
the EE2E(c) menu then it idents as expected.
Nothing apears to the the PDE runtime error log during this
process.
============================================================
==============
[English]
I have checked in some changes that should fix this.
(*)Action ID was attached to the command.
[TestCase]
But,this problem is not happened in my environment.
I will have to leave the real testing to Mr.None(?) since
they have the TestCase for this failure.
Please retry.
(*) Please also see this page.
http://park.ruru.ne.jp/ando/work/who/ee2e/FAQ_ja.html
Still doesn't work, this time the 'Indent(under mounting)'
disappeared from the EE2E(c) menu. Again no errors in pde
runtime log.
Give a hint as to what in the environment could cause this,
locality(LC_CTYPE)?, JRE version?
Also to mention that when I open the java file, an icon of
EE2E (<sup>2</sup>J) appears on the tab, but when it
finishes loading the file it reverts to the simple java
editor icon.
I removed ~/.eclipse and ~/eclipse directories. Executed
eclipse once so the directories be created again and then
installed jp.ne.ruru.park.ando_2.6.3.bin.dist.zip. Executed
eclipse once again and still got the same behavior, tab just
moves 4 columns to the right. I've also checked all four cases.
My eclipse setup is this.
Version: 2.1.1
Build id: R-2.1.1-200306271545 build on Debian
PS. Tested the 2.6.1 version of the plugin too, didn't work
either.
I've downloaded EE2E and have been having some troubles
making it work
under Linux. I'm using Eclipse 2.1.1 and CDT 1.1.0. Under
Windows, the
plugin seems to work correctly and <tab> moves the code to
the
appropriate location. But, under Linux (both Redhat 9.0
and Redhat
7.0), the tab key moves the code by 4 spaces instead of to
the
appropriate indent. Do you have any ideas as to what's
wrong? I'd
appreciate any help. Thanks.
============================================================
=
[English]
I began to think that this problem is the bug of Eclipse.
But now, I have installed only Windows OS in my PC.
Therefore the test in RedHad environment is not made.
I want Mr.Sripal to test in the RedHad environment.
I create a sample file. It put on the following URL.
http://park.ruru.ne.jp/ando/work/who/ee2e/jp.ne.ruru.park.an
do.ee2e.tabtest_1.1.1.zip
(Please push a tab key after opening a *.tabtest file in
Eclipse).
A Bug report is submitted based on a reply.
https://bugs.eclipse.org/bugs/
============================================================
=======
[English]
It is a proposal for writing a report.
Presentation is planned to the following URL.
https://bugs.eclipse.org/bugs/
===
Subject : Key binding of a TAB-key does not work only by
Redhad(both Redhat 9.0 and Redhat 7.0).
===
I am Windows user.
I created and published plugin by Windows 2000 Professional.
However, the report of not operating by Redhad environment
was received.
"Key binding of a TAB-key does not work."
This is the problem of OS dependence,and I thought that it
was the bug of Eclipse.
Therefore, I wrote the report.
I attached sample file.
Please push a tab key after opening a *.tabtest file in
Eclipse.
This file operates in Windows 2000 Professional.
However, in both Redhat 9.0 and Redhat 7.0, it does not
operate correctly.
--
Best Regard.
Ando.
***
The circumstances of this problem are in the following
URL.
http://sourceforge.jp/tracker/index.php?
func=detail&aid=2901&group_id=501&atid=1949
Thank you for your quick response to my e-mail. I have
tried the tabtest plugin and it does not seem to work under
Redhat Linux or Windows. I tried two different computers
and could not get the tabtest to work. I checked the plug
registry and saw that the plugin was registered, but when I
hit <tab> it still moved the line by 4 spaces on both linux
and windows.
Let me know if you would like me to test anything else.
Thanks again, and I appreciate your help.
Furthermore, in order to make information steadfast,
I am requesting the examination from my UNIXer friend's
(Debian, etc ...) now.
Please wait for a while.
[Japanese]
調査結果。
1.Environment A "Debian Sarge" Eclipse 2.1.1 Motif.
TABキーは正常に動作しませんでした!!
2.Environment B "Debian Sarge" Eclipse 2.1.1-5 パッケージ版
(GTK)
TABキーは正常に動作しませんでした!!
2.Environment C "Windows 2000 professional" Eclipse2.1.1
(My home PC)
TABキーは正常に動作しました。
3.Environment D "Windows 2000 professional" Eclipse2.1.1 (人
んちのPC)
TABキーは正常に動作しました。
4.Environment E "Windows 2000 professional" Eclipse2.1.1 (人
んちのノートPC)
TABキーは正常に動作しませんでした!!
詳細調査:
[Menubar]->[Windows]->[Preferences]->[Preferences]
Dialog->
[Workbench]->[keys]->[Commands]->
[EE2E Refactoring]->[Line indentification]->
スコープ内でキーバインドのコンフリクトが発生しています!!
================================
=======
[English]
Results of an investigation.
1.Environment A "Debian Sarge" Eclipse 2.1.1 Motif.
The TAB key NOT operated normally!!
2.Environment B "Debian Sarge" Eclipse 2.1.1-5 Debian
package(GTK)
The TAB key NOT operated normally!!
3.Environment C "Windows 2000 professional" Eclipse2.1.1
(My home PC)
The TAB key operated normally.
4.Environment D "Windows 2000 professional" Eclipse2.1.1
(Other PC)
The TAB key operated normally.
5.Environment E "Windows 2000 professional" Eclipse2.1.1
(Other note PC)
The TAB key NOT operated normally!!
Detailed investigation :
[Menubar]->[Windows]->[Preferences]->[Preferences]
Dialog->
[Workbench]->[keys]->[Commands]->
[EE2E Refactoring]->[Line indentification]->
The conflict of a key bind has occurred within a
scope!!
[English]
From the following examination result "E",
it became clear that a problem was in how to use an Eclipse
scope.
I want you to test the next sample plugin.
http://park.ruru.ne.jp/ando/work/who/ee2e/jp.ne.ruru.park.an
do.ee2e.tabtest_1.1.2.zip
(Please push a tab key after opening a *.tabtest file in
Eclipse).
I tried the tabtest 1.1.2 under Windows XP and Redhat 7.3.
Under Windows XP, pressing the tab key on a new file named
hello.tabtest gave me the results "Hello, Eclipse TAB-key
world!"
Under Redhat 7.3, I did not have the same results; the tab
key still indented the current line by 4 spaces. I checked:
[Menubar]->[Windows]->[Preferences]->[Preferences] Dialog->
[Workbench]->[keys]->[Commands]->
[EE2E Tab Test Refactoring]->[Line indentification]->
And I added a new Key binding for:
Scope: Global
Configuration: Emacs (extends Standard)
Key sequence: Tab
I did this for both "EE2E Refactoring" and "EE2E Tab Test
Refactoring" and I was not able to get the tab test to work
under linux.
Let me know what else you would like me to test. Again, I
appreciate your help.
I purchased a new personal computer.
Redhat Linux 9 was installed in the personal computer.
I introduced the motif version eclipse.
And the test about the tab of EE2E was performed.
The test was successful. TAB test is satisfactory.
However, with the motif version, in case a tab command is
completed,
an editor becomes non-active. This affair was corrected by
carrying out
the focus of the editor, before the tab command was
completed
(EE2E ver.2.6.4).
The following is detailed data.
============================================================
==================
OS : redhat Linux 9.
Environment : Japanese
Eclipse virsion : eclipse-SDK-2.1.1-linux-motif.zip
Eclipse invoke option :
eclipse -vm $JAVA_HOME/jre/bin/java -data ~/workspace
Screen : gnome-session
Operation : Windows 2000 professional (vir VNC)
OtherData:
[ando@localhost ando]$ uname -a
Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:18:24
EST 2003 i686 athlon i386 GNU/Linux
[ando@localhost ando]$ $JAVA_HOME/bin/java -version
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
============================================================
==================
(*) I thought that installation of Redhat was quite
difficult.
Installation has taken time. Therefore, the reply became
slow.
Mr.Miki said that,
Hello,
I am using eclipse 2.1.1 and I have downloaded the
EE2e Plug in.
It seems that the plug in is configured
(I've copied the necesay resources, and eclipse found
it and installed it) properly;
however pressing the TAB character does nothing than
moving the cursor 4 characters to the right.
Could you give a bit of help?
Thanks a lot in advance,
[Japanese]
※英語に自身がないので間違ってたら誰か補完してください。
こんちは!
ども、うちはEclipse2.1.1を使ってまして、
そんでもってEE2Eをダウンロードしておるんですわ。
いちおちゃ~んとインストールできてるように見えるんです
が、
TABキー押してんのに、カーソルが右に4つ移動することしかしま
せんのですわ。
なんでやろな。すんまへんがおしえてーな。
ほなさいなら。