Tíquete #2901

Pressing the TAB character does nothing
: 2003-08-30 01:17 Última Atualização: 2004-07-11 04:00

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
7
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
2

Details

[English]
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つ移動することしかしま
せんのですわ。
なんでやろな。すんまへんがおしえてーな。
ほなさいなら。

Ticket History (3/18 Histories)

2003-08-30 01:18 Updated by: ando
  • Ticket Close date is changed to 2003-08-30 01:18
  • Resolução Update from Nenhum to Fixed
  • Estado Update from Aberto to Fechado
Comentário
Logged In: YES
user_id=4377

[Japanese]
2つのケースが考えられます。

Case 1:EE2Eが提供するエディターが開かれていません。
Case 2:EE2Eが拡張子を理解していません。

==================================================
Case 1:EE2Eが提供するエディターが開かれていません。

まず、メニューバッファーにEE2Eという表示があることを確認して
ください。
もしメニューバーにEE2Eが存在しないなら、以下の2つのケースが
考えられます。

1-1:EE2EのEditorではないものが開かれています。
1-2:エラーが発生してます。

===================================================
1-1:What is not Editor of EE2E is opened.

Package Exprloerから使用したいファイルを選択してください。
ポップアップメニューを表示してください。
ポップアップメニューから、Open Withを選択してください。
Open WithからEE2E Editorを選択してください。

===================================================
1-2:The error has occurred.

この場合、エラーを特定させる必要があります。
Error Log Viewの内容を教えてください。
Error Log Viewは以下のように開きます。

Menu barからWindowsを選択します。
Show viewを選択します。
Otherを選択します。
Show View Dialigが開かれます。
Show View Dialogが開かれます。
PDE Runtimeを選択します。
Error Logを選択します。

===================================================
2:EE2Eが拡張子を理解していません。

EE2Eは、拡張子から実行すべきメジャーモードを類推します。
このケースは、EE2Eが拡張子を理解しないに発生します。
おそらく拡張子をテキストモードと開いています。

私に、開きたい拡張子を教えてください。

現在対応している拡張子は以下の通りです。

build.xml, build-ee2e.xml, *.ee2e, *.dtd, *.el, *.java,
*.jnlp, *.xjnlp, *.jsp, *.jspf, *.rlx, *.rmg, *.rxm, *.rxg,
struts-config.xml, *.sdoc, server.xml, *.tld , *.ttl,
*.mib, web.xml, *.html, *.htm , *.xi, *.xml, *.xsl,
*.xsd, *.xslt

====================================================
[English]
Dear Mr.Miki.

Two cases can be considered.

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.

Please tell me an extension to open.

The extension which EE2E supports is as follows.

build.xml, build-ee2e.xml, *.ee2e, *.dtd, *.el, *.java,
*.jnlp, *.xjnlp, *.jsp, *.jspf, *.rlx, *.rmg, *.rxm, *.rxg,
struts-config.xml, *.sdoc, server.xml, *.tld , *.ttl,
*.mib, web.xml, *.html, *.htm , *.xi, *.xml, *.xsl,
*.xsd, *.xslt

[Disposal -- 2.6.2EE2E]
FAQ is due to be created.
Eglish document is due to be corrected.

[TestCase]
NA.
=====

Best Regard.
--
Ando.
2003-09-04 19:43 Updated by: None
Comentário
Logged In: NO

I have the same setup and the same problem.

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.

Thanks for any help
2003-09-04 23:32 Updated by: ando
  • Prioridade Update from 5 - Medium to 6
  • Estado Update from Fechado to Aberto
Comentário
Logged In: YES
user_id=4377

[Japanese]
この問題は、クローズから、オープンに変更します。
原因を調査中です。

[English]
This problem is openly changed from closing.
A cause is under investigation.
2003-09-06 20:44 Updated by: ando
Comentário
Logged In: YES
user_id=4377

[Japanese]
コマンドにアクションIDを付けました。

[TestCase]
私のところでは再現していません。
発生した人(None(?)さん)に直ったか確認してもらう必要がありま
す。
(*)このページも見てください。
http://park.ruru.ne.jp/ando/work/who/ee2e/FAQ_ja.html

============================================================
==============
[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

[Version]
2.6.2

Best Regard.
--
Ando.
2003-09-08 21:05 Updated by: None
Comentário
Logged In: NO

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.
2003-09-10 03:17 Updated by: ando
Comentário
Logged In: YES
user_id=4377

[Japanese]
お願いです。
以下のURLのCASE3及びCASE4をテストしてください。
http://park.ruru.ne.jp/ando/work/who/ee2e/faq_ja.html#tab

[English]
It is a wish.
Please test CASE3 and CASE4 of the following URL.
http://park.ruru.ne.jp/ando/work/who/ee2e/faq.html#tab
2003-09-10 16:34 Updated by: None
Comentário
Logged In: NO

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.
2003-10-02 18:21 Updated by: ando
Comentário
Logged In: YES
user_id=4377

Mr. Mehta, Sripal said that,
=========
Hi,

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.
2003-10-02 18:22 Updated by: ando
Comentário
Logged In: YES
user_id=4377

[Japanese]
私は、この問題がEclipseのバグだと考え始めました。
しかし今、私のPCにはWindowsOSしかインストールしていません。
従ってRedHadでのテストができません。
SripalさんにRedHad環境でテストをして欲しいと思っています。


私はサンプルファイルを作成します。下記の場所に置きました。
http://park.ruru.ne.jp/ando/work/who/ee2e/jp.ne.ruru.park.an
do.ee2e.tabtest_1.1.1.zip
(Eclipse上で*.tabtestファイルを開いた後、タブキーを押してくだ
さい)

返事を元に、Bugレポートを提出します。
https://bugs.eclipse.org/bugs/

============================================================
=
[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/

--
Best Regard.
Ando.
============================================================
=======
[Japanese]
これはレポートを書くための案です。
以下のURLに提出を予定しています。
https://bugs.eclipse.org/bugs/
=====
Subject : TABキーがRedHadでのみ動作しません。
=====
私はWindows userです。
私はWindowsでpluginを作成し、公開しました。
しかしながら、RedHadで動作しないという報告を受けました。

"タブキーのバインディングが正常に働きません"

これは機種依存の問題であり、私はEclipseのバグであると考えまし
た。
だから、私はレポートを書きました。サンプルファイルを添付しま
す。

Eclipse上で*.tabtestファイルを開いた後、タブキーを押してくだ
さい。
このファイルは、Windows 2000 Professionalでは動作します。
しかしboth Redhat 9.0 and Redhat 7.0 では正しく動作しませ
ん。

ではでは。ごきげんよう。
安藤さん

****
この問題の経緯は、以下のURLにあります。
http://sourceforge.jp/tracker/index.php?
func=detail&aid=2901&group_id=501&atid=1949

============================================================
=======
[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
2003-10-02 18:29 Updated by: ando
  • File 715: jp.ne.ruru.park.ando.ee2e.tabtest_1.1.1.zip is attached
  • Prioridade Update from 6 to 7
2003-10-03 23:51 Updated by: ando
Comentário
Logged In: YES
user_id=4377

Mr.Sripal said that,
===========
Dear Mr. Ando,

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.
2003-10-03 23:52 Updated by: ando
Comentário
Logged In: YES
user_id=4377

Dear. Mr.Sripal.
Thank you for a reply.

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.
2003-10-05 05:24 Updated by: ando
Comentário
Logged In: YES
user_id=4377

[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!!
2003-10-05 05:25 Updated by: ando
Comentário
Logged In: YES
user_id=4377

[Japanese]
下記の試験結果Eより、Eclipseスコープの使い方に問題があること
が判明しました。
次のサンプルファイルをテストして頂きたいと思います。

http://park.ruru.ne.jp/ando/work/who/ee2e/jp.ne.ruru.park.an
do.ee2e.tabtest_1.1.2.zip
(インストール後、Eclipseを起動して *.tabtestという拡張子のフ
ァイルを開いてください)

よろしくお願いいたします。

ではでは。
--
Ando

[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).

Thank you for your consideration.

Best Regard.
--
Ando.
2003-10-05 05:26 Updated by: ando
  • File 717: jp.ne.ruru.park.ando.ee2e.tabtest_1.1.2.zip is attached
2003-10-18 22:03 Updated by: ando
Comentário
Logged In: YES
user_id=4377

Dear Mr. Ando,

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.

Thanks,
2003-10-18 22:04 Updated by: ando
Comentário
Logged In: YES
user_id=4377

[Japanese]

私は新しいPCを購入し、Redhat Linux 9をインストールしまし
た。
その後、motif版eclipseを導入し、EE2Eのタブに関するテストを行い
ました。
結果テストは成功しています。問題ありません。
しかしmotif版では、コマンド終了時に、エディターが非アクティブ
になる
ことがあります。この件は修正しました(EE2E ver.2.6.4)。
よろしくお願いいたします。

諸データを以下に載せます。
============================================================
==================
[English]

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.
2004-07-11 04:00 Updated by: ando
  • Ticket Close date is changed to 2004-07-11 04:00
  • Estado Update from Aberto to Fechado
Comentário
Logged In: YES
user_id=4377

Development of EE2E shifted to Eclipse3.0.
Please take a check by EE2E3.0.4.

Attachment File List

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login