source

Eclipse HotKey: 탭 간 전환 방법

nicesource 2023. 2. 6. 23:57
반응형

Eclipse HotKey: 탭 간 전환 방법

Eclipse에서 열린 창을 전환하려면 어떻게 해야 하나요?+F6가 있는데 어떤 것을 원하느냐고 묻는데, 목록에서 파일을 선택하지 않고 브라우저나 운영체제(/+)CmdWinTab에서 탭처럼 전환하고 싶습니다.이클립스에서 어떻게 이 쉬운 일을 할 수 있을까?

이벤트에 단축키를 할당하려고 했습니다.

  • 앞으로
  • 장래의 역사
  • 다음 페이지

내 뜻대로 되지 않아

  • CTRL+E (에디터 리스트의 경우)
  • CTRL+F6 (목록을 통해 다음 에디터로 전환하기 위해)
    Editor'할 수 다음 편집자'는요?

두 가지 공식 단축키이지만 둘 다 목록이 표시됩니다.

+ / Page Down+ 목록을 표시하지 않고 편집기를 순환할 수 있습니다CTRL.Page Up

로운 점은 과 같습니다
이클립스
멀티페이징 에디터로부터 상속되어 OS 고유의 숏컷이 되는 경우가 있습니다.


Mac OS(OSX)의 바로 가기 키에 대해 Matt Ball은 2011년 9월 +/+Page UpCTRLPage Down를 재매핑할 수 없다고 불평했습니다.

OS X(-Left 및 -)Right의 거의 모든 탭 프로그램에서와 같이 열려 있는 탭을 넘길 수 없는 것은 매우 불안합니다.

2012년 3월에 Arthur는 다음과 같이 대답했습니다.

Eclipse의 최신 버전(3.7 이상)을 다운로드했습니다.Editor에서 "이전/다음 탭"을 Left(- 및 Right-)에 바인딩할 수 있었습니다. 이전에는 바인딩할 수 없었습니다.
네 말을 들었나 보네
탭이 왼쪽에서 오른쪽으로 이동하거나 반대로 이동하거나 이력 기반이나 이와 같은 허튼소리가 아닙니다.

Matt Ball 확인:

와, "Editing Java Source"를 선택한 것이 실제로 효과가 있었습니다!
Java SOL(JSP, XML, JS)입니다.
이 문제를 해결하려면 이 쌍의 "copy command"를 선택하고 원하는 "when"을 모두 선택합니다.
현재까지는 Java 및 JSP 파일에서는 정상적으로 동작하고 있습니다.
이것은 설정해야 할 주요 PITA이지만, 단 한 번뿐입니다.

내보낸 기본 설정은 여기에서 확인할 수 있습니다.
가져오면 모든 관련 문서 유형에 대해 다음을 볼 수 있습니다.

Mac OS 키 바인딩

기본 설정(예: Window→Preferences)으로 이동하여 General→Keys를 보는 경우

'다음 탭'과 '이전 탭'을 검색하면 다시 매핑할 수 있습니다.

다시 바인딩하기 전에 Eclipse 환경 설정의 다음 탭 명령

OS에서 Windows와 같이 전환(마지막으로 포커스를 맞춘 창으로 이동)

CTRL-F6 Eclipse의 TAB예를 들어 - (윈도우의 경우) 사용 가능한 탭/창 목록을 표시하고(/ 키를 누른 상태로 두면) 이 키를 놓을 때 이동할 탭/창을 강조 표시합니다.창을 선택할 필요가 없습니다.여러 탭을 한 번에 이동하려면 버튼을 누른 상태에서 버튼을 누릅니다.이것은 Windows TAB에서의 동작과 동일합니다.

이런 의미에서,SHIFTF6 일식은 아날로그입니다.SHIFTTAB개인적으로 이클립스의 바인딩을 Visual Studio처럼 변경합니다.예를 TAB들어 - 그리고 -SHIFTTAB 그리고 - 이렇게 합니다.

창 > 설정 > 일반 > 키

그런 다음 "Next Editor"=CtrlTabCtrlShiftTab+ 및 "Previous Editor"=++를 설정합니다.새 바인딩을 설정하기 전에 "Unbind Command"를 클릭하는 것을 잊지 마십시오.

브라우저처럼 전환(현재 탭의 오른쪽에 있는 탭으로 이동)

이쪽이 오른쪽,PageDown PageUp왼쪽이다.아쉽게도 탭 목록의 끝에 도달한 후 다시 오른쪽으로 이동하려고 하면 Eclipse는 대부분의 브라우저처럼 첫 번째 탭(맨 왼쪽)으로 이동하지 않습니다.

+Left를 사용하여 이전 탭으로 이동하거나 +Right를 사용하여 앞으로 이동할 수 있습니다.다만, 이 방법에서는, 이력등의 탭 스위칭을 사용하고 있기 때문에, 이전에 열었던 탭으로 이동해, 1회 이상 「뒤로」가 있었을 경우는 앞으로 이동합니다.좀 이상하긴 하지만, 효과가 있어요.모든 탭을 한 번 클릭하여 언제든지 이력을 "리셋"할 수 있습니다.

  • Right측면 이동 : +
  • Left측면 이동 : +

추가의

  • 열려 있는 탭 목록 가져오기: +

이클립스 다른 지름길

CTRL +는 사용하기 편리합니다.다음/이전 탭으로 전환하려면 + / Page Up+ Page Down를 수행해야 합니다.

기본값은 + 입니다.Windows 기본 설정으로 이동하여 변경할 수 있습니다.저는 보통 +로 변경합니다.이것은 브라우저나 다른 것들의 탭을 바꿀 때 사용하는 것과 같습니다.

이전 탭으로 돌아가기 위한 바로 가기 키

Alt + 되돌아가다.

커스텀 키바인딩 시퀀스 예: Eclipse RCP를 사용하여 가시성 모듈 또는 에디터 순방향으로 전환합니다.

두 번째로 누르면 다른 편집기가 열리고 RCP Eclipse를 사용하여 이전 편집기가 닫힙니다.

package rcp_demo.Toolbar;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.ui.IEditorReference;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.handlers.HandlerUtil;
import rcp_demo.Editor.EmployeeEditor;
import rcp_demo.Editor.EmployeeEditorInput;
import rcp_demo.Editor.ProductEditor;
import rcp_demo.Editor.ProductEditorInput;
import rcp_demo.Editor.UserEditor;
import rcp_demo.Editor.UserEditorInput;

public class Forward_Editor extends AbstractHandler{

    static String Editor_name;  //  Active Editor name store in Temporary 
    static int cnt;             //  close editor count this variable
    @Override
    public Object execute(ExecutionEvent event) throws ExecutionException {

        IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindow(event);
        IWorkbenchPage page = window.getActivePage();

        UserEditorInput std_input = new UserEditorInput();
        EmployeeEditorInput emp_input=new EmployeeEditorInput();
        ProductEditorInput product_input=new ProductEditorInput();

        IEditorReference[] editors = page.getEditorReferences();

        //Blank Editor Window to execute..
        if(editors.length==0)
        {
            //First time close editor can open Student_Editor
            if(cnt==1 && Editor_name.equals("Student_Editor"))
            {
                try {
                    page.openEditor(emp_input, EmployeeEditor.Id);
                    cnt=1;
                    Editor_name=page.getActiveEditor().getTitle();
                    System.out.println("EMP>>Len:: "+editors.length+"..EDi::"+Editor_name);
                } catch (PartInitException e) {
                    e.printStackTrace();
                }       
            }
            //First time close editor can open Employee_Editor
            else if(cnt==1 && Editor_name.equals("Employee_Editor"))
            {
                try {
                    page.openEditor(product_input,ProductEditor.ID);
                    cnt=1;
                    Editor_name=page.getActiveEditor().getTitle();
                    System.out.println("PRO>>Len:: "+editors.length+"..EDi::"+Editor_name); 
                } catch (PartInitException e) {e.printStackTrace();
                }
            }
            //First time close editor can open Product_Editor
            else if(cnt==1 && Editor_name.equals("Product_Editor"))
            {
                try {
                    page.openEditor(std_input, UserEditor.ID);
                    System.out.println("student Editor open");
                    cnt=1;
                    Editor_name=page.getActiveEditor().getTitle();
                    System.out.println("Close::"+Editor_name);
                } catch (PartInitException e) {
                    e.printStackTrace();
                }
            }
            //First Time call // empty editors 
            else{
                try {
                    page.openEditor(std_input, UserEditor.ID);
                    System.out.println("student Editor open");
                    Editor_name=page.getActiveEditor().getTitle();
                } catch (PartInitException e) {
                    e.printStackTrace();
                }
            }
        }//End if condition

        //AvtiveEditor(Student_Editor) close to open Employee Editor
        else if(page.getActiveEditor().getTitle().equals("Student_Editor"))
        {
            try {
                //page.closeAllEditors(true);
                page.closeEditor(page.getActiveEditor(), true);
                page.openEditor(emp_input, EmployeeEditor.Id);
                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("EMP>>Len:: "+editors.length+"..EDi::"+Editor_name);
            } catch (PartInitException e) {
                e.printStackTrace();
            }
        }
        //AvtiveEditor(Employee_Editor) close to open Product Editor
        else if(page.getActiveEditor().getTitle().equals("Employee_Editor"))
        {
            try {
                page.closeAllEditors(true);
                page.openEditor(product_input,ProductEditor.ID);

                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("PRO>>Len:: "+editors.length+"..EDi::"+Editor_name);

            } catch (PartInitException e) {
                e.printStackTrace();
            }
        }
        //AvtiveEditor(Product_Editor) close to open Student Editor
        else if(page.getActiveEditor().getTitle().equals("Product_Editor"))
        {
            try {
                page.closeAllEditors(true);
                page.openEditor(std_input, UserEditor.ID);
                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("stud>>Len:: "+editors.length+"..EDi::"+Editor_name);
            } catch (PartInitException e) {
                e.printStackTrace();
            }
        }
        //by default open Student Editor
        else 
        {
            try {
                page.closeAllEditors(true);
                page.openEditor(std_input, UserEditor.ID);
                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("stud_else>>Len:: "+editors.length+"..EDi::"+Editor_name);
            } catch (PartInitException e) {
                e.printStackTrace();
            }
        }
        return null;
    }
}

>Custom KeyBinding sequence example : <kbd> SHIFT + TAB </kbd> to switch between visilble Modules or Editors **Backword** direction using Eclipse RCP.


package rcp_demo.Toolbar;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.ui.IEditorReference;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.handlers.HandlerUtil;
import rcp_demo.Editor.EmployeeEditor;
import rcp_demo.Editor.EmployeeEditorInput;
import rcp_demo.Editor.ProductEditor;
import rcp_demo.Editor.ProductEditorInput;
import rcp_demo.Editor.UserEditor;
import rcp_demo.Editor.UserEditorInput;

public class Backword_Editor extends AbstractHandler{

    static String Editor_name;   // Active Editor name store in Temporary 
    static int cnt;

    @Override
    public Object execute(ExecutionEvent event) throws ExecutionException {

        IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindow(event);
        IWorkbenchPage page = window.getActivePage();
        //Three object create in EditorInput 
        UserEditorInput std_input = new UserEditorInput();
        EmployeeEditorInput emp_input=new EmployeeEditorInput();
        ProductEditorInput product_input=new ProductEditorInput();

        IEditorReference[] editors = page.getEditorReferences();
        System.out.println("Length : "+editors.length);

        if(editors.length==0)
        {
            //First time close editor can open Student_Editor
            if(cnt==1 && Editor_name.equals("Product_Editor"))
            {
                try {
                    page.openEditor(emp_input, EmployeeEditor.Id);
                    cnt=1;
                    Editor_name=page.getActiveEditor().getTitle();
                    System.out.println("EMP>>Len:: "+editors.length+"..EDi::"+Editor_name);
                } catch (PartInitException e) {
                    e.printStackTrace();
                }               
            }
            //First time close editor can open Employee_Editor
            else if(cnt==1 && Editor_name.equals("Employee_Editor"))
            {
                try {
                    page.openEditor(std_input, UserEditor.ID);
                    cnt=1;
                    Editor_name=page.getActiveEditor().getTitle();
                    System.out.println("Student>>Len:: "+editors.length+"..student::"+Editor_name);

                } catch (PartInitException e) {
                    e.printStackTrace();
                }
            }
            //First time close editor can open Product_Editor
            else if(cnt==1 && Editor_name.equals("Student_Editor"))
            {
                        try {
                            page.openEditor(product_input,ProductEditor.ID);
                            cnt=1;
                            Editor_name=page.getActiveEditor().getTitle();
                            System.out.println("PRO>>Len:: "+editors.length+"..EDi::"+Editor_name);

                        } catch (PartInitException e) {
                            e.printStackTrace();
                        }
            } 
            //First Time or empty editors to check this condition
            else{
                try {
                    page.openEditor(product_input,ProductEditor.ID);
                    System.out.println("product Editor open");
                } catch (PartInitException e) {
                    e.printStackTrace();
                }
            }
        }
        //AvtiveEditor(Product_Editor) close to open Employee Editor
        else if(page.getActiveEditor().getTitle().equals("Product_Editor"))
        {
            System.out.println("Product:: "+page.getActiveEditor().getTitle());
            try {
                page.closeAllEditors(true);
                page.openEditor(emp_input, EmployeeEditor.Id);
                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("Employee Editor open");
            } catch (PartInitException e) {
                e.printStackTrace();
            }
        }
        //AvtiveEditor(Employee_Editor) close to open Student Editor
        else if(page.getActiveEditor().getTitle().equals("Employee_Editor"))
        {
            System.out.println("Emp:: "+page.getActiveEditor().getTitle());
            try {
                page.closeAllEditors(true);
                page.openEditor(std_input, UserEditor.ID);
                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("student Editor open");
            } catch (PartInitException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
        //AvtiveEditor(Student_Editor) close to open Product Editor
        else if(page.getActiveEditor().getTitle().equals("Student_Editor"))
        {
            System.out.println("Product:: "+page.getActiveEditor().getTitle());
            try {
                page.closeAllEditors(true);
                page.openEditor(product_input,ProductEditor.ID);
                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("product Editor open");
            } catch (PartInitException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
        //by default open Student Editor
        else 
        {
            try {
                page.closeAllEditors(true);
                page.openEditor(product_input,ProductEditor.ID);
                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("product Editor open");
            } catch (PartInitException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
        return null;
    }
}

사용자 정의 키 바인딩 시퀀스 예: Eclipse RCP를 사용하여 가시성 모듈 또는 편집기 백워드 방향을 전환합니다.

package rcp_demo.Toolbar;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.ui.IEditorReference;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.handlers.HandlerUtil;
import rcp_demo.Editor.EmployeeEditor;
import rcp_demo.Editor.EmployeeEditorInput;
import rcp_demo.Editor.ProductEditor;
import rcp_demo.Editor.ProductEditorInput;
import rcp_demo.Editor.UserEditor;
import rcp_demo.Editor.UserEditorInput;

public class Backword_Editor extends AbstractHandler{

    static String Editor_name;   // Active Editor name store in Temporary 
    static int cnt;

    @Override
    public Object execute(ExecutionEvent event) throws ExecutionException {

        IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindow(event);
        IWorkbenchPage page = window.getActivePage();
        //Three object create in EditorInput 
        UserEditorInput std_input = new UserEditorInput();
        EmployeeEditorInput emp_input=new EmployeeEditorInput();
        ProductEditorInput product_input=new ProductEditorInput();

        IEditorReference[] editors = page.getEditorReferences();
        System.out.println("Length : "+editors.length);

        if(editors.length==0)
        {
            //First time close editor can open Student_Editor
            if(cnt==1 && Editor_name.equals("Product_Editor"))
            {
                try {
                    page.openEditor(emp_input, EmployeeEditor.Id);
                    cnt=1;
                    Editor_name=page.getActiveEditor().getTitle();
                    System.out.println("EMP>>Len:: "+editors.length+"..EDi::"+Editor_name);
                } catch (PartInitException e) {
                    e.printStackTrace();
                }               
            }
            //First time close editor can open Employee_Editor
            else if(cnt==1 && Editor_name.equals("Employee_Editor"))
            {
                try {
                    page.openEditor(std_input, UserEditor.ID);
                    cnt=1;
                    Editor_name=page.getActiveEditor().getTitle();
                    System.out.println("Student>>Len:: "+editors.length+"..student::"+Editor_name);

                } catch (PartInitException e) {
                    e.printStackTrace();
                }
            }
            //First time close editor can open Product_Editor
            else if(cnt==1 && Editor_name.equals("Student_Editor"))
            {
                        try {
                            page.openEditor(product_input,ProductEditor.ID);
                            cnt=1;
                            Editor_name=page.getActiveEditor().getTitle();
                            System.out.println("PRO>>Len:: "+editors.length+"..EDi::"+Editor_name);

                        } catch (PartInitException e) {
                            e.printStackTrace();
                        }
            } 
            //First Time or empty editors to check this condition
            else{
                try {
                    page.openEditor(product_input,ProductEditor.ID);
                    System.out.println("product Editor open");
                } catch (PartInitException e) {
                    e.printStackTrace();
                }
            }
        }
        //AvtiveEditor(Product_Editor) close to open Employee Editor
        else if(page.getActiveEditor().getTitle().equals("Product_Editor"))
        {
            System.out.println("Product:: "+page.getActiveEditor().getTitle());
            try {
                page.closeAllEditors(true);
                page.openEditor(emp_input, EmployeeEditor.Id);
                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("Employee Editor open");
            } catch (PartInitException e) {
                e.printStackTrace();
            }
        }
        //AvtiveEditor(Employee_Editor) close to open Student Editor
        else if(page.getActiveEditor().getTitle().equals("Employee_Editor"))
        {
            System.out.println("Emp:: "+page.getActiveEditor().getTitle());
            try {
                page.closeAllEditors(true);
                page.openEditor(std_input, UserEditor.ID);
                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("student Editor open");
            } catch (PartInitException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
        //AvtiveEditor(Student_Editor) close to open Product Editor
        else if(page.getActiveEditor().getTitle().equals("Student_Editor"))
        {
            System.out.println("Product:: "+page.getActiveEditor().getTitle());
            try {
                page.closeAllEditors(true);
                page.openEditor(product_input,ProductEditor.ID);
                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("product Editor open");
            } catch (PartInitException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
        //by default open Student Editor
        else 
        {
            try {
                page.closeAllEditors(true);
                page.openEditor(product_input,ProductEditor.ID);
                cnt=1;
                Editor_name=page.getActiveEditor().getTitle();
                System.out.println("product Editor open");
            } catch (PartInitException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
        return null;
    }
}

키 시퀀스

M1은

M2는

plugin.xml


<extension point="org.eclipse.ui.commands">
        <command
                defaultHandler="rcp_demo.Toolbar.Forward_Editor"
                id="RCP_Demo.Toolbar.Forward_editor_open_cmd"
                name="Forward_Editor">
        </command>
        <command
                defaultHandler="rcp_demo.Toolbar.Backword_Editor"
                id="RCP_Demo.Toolbar.backwards_editor_open_cmd"
                name="Backword_Editor">
        </command>
    </extension>
<extension point="org.eclipse.ui.bindings">
        <key
                commandId="RCP_Demo.Toolbar.Forward_editor_open_cmd"
                schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
                sequence="M1+TAB">
        </key>  
        <key
                commandId="RCP_Demo.Toolbar.backwards_editor_open_cmd"
                schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
                sequence="M2+TAB">
        </key>              
</extension>

3줄 AutoHotKey 스크립트(Windows의 경우):

#IfWinActive ahk_class SWT_Window0
^+Tab::^PgUp
^Tab::^PgDn

이것을 스타트업 폴더에 넣으면(*.ahk로 저장하면 AutoHotKey가 설치되어 있어야 함), 이제 이클립스 탭은 Chrome 또는 Firefox와 같이 작동합니다.

해결했습니다!!

스킴을 Microsoft Visual Studio로 변경

창 > 설정 > 일반 > 키

[ Search for Schemes ]드롭다운

내 이클립스 버전:

웹 개발자용 Java EE IDE를 이클립스합니다.

버전: Juno Service Release 1 빌드 ID: 20120920-0800

아무도 내 답을 읽지 않겠지만 어쨌든...Mac OS X를 사용하는 경우 Eclipse에서 히스토리 탐색을 위한 멀티 터치 제스처가 좋습니다. http://sourceforge.net/apps/mediawiki/eclipsemultitch/

Windows 에서는, 5 버튼의 마우스가 있는 경우는,및 대신에 앞뒤로 를 사용할 수 있습니다.

오른쪽에서 왼쪽으로 : +, + 또는 + 또는 +

왼쪽에서 오른쪽으로 : +, + 또는 + 또는 +

VI 플러그인을 사용하여 파일 사이를 이동하는 방법도 있습니다.

그게 내가 하는 것이다.

[ Preferences ]-> [ General ]-> [ Keys ]에서 단축키를 설정할 수 있습니다(또는 [Preferences]대화상자의 상부에 있는 필터 필드에 「keys」라고 입력합니다).

키 섹션이 선택되면 [다음]탭과 [이전]탭을 찾아 [바인딩]필드를 클릭하여 단축키를 입력하여 원하는 단축키를 할당합니다.

[적용] 또는 [확인]을 눌러 프로세스를 완료합니다.

현재 선택한 탭과 이전 탭 간에 전환하려면 +를 사용하면 앞뒤로 전환됩니다.과거 탭으로 이동하려면 Editors 창이 열려 있는 동안 / 키를 사용해야 합니다.이는 Helios(Eclipse 3.6)에서 작동하며 이전 버전의 Eclipse에서도 해당되는지 확실하지 않습니다.

VonC의 답변을 인용합니다.

  • Ctrl+():PgUpPgDn 현재 스택의 탭(에디터와 뷰 모두)을 전환합니다.
  • + 필터링된 목록을 사용하여 현재 스택의 탭을 전환합니다Ctrl.E
  • Ctrl+F6 스택에 관계없이 편집자 간에 전환
  • Ctrl+F7 스택에 관계없이 보기 전환

또한 탭 전환에 +()PgUpPgDn 대신 +를 사용하여 Tab요청하기 위해 Bug 206299가 열려 있습니다.

  • 이 경우 접근성이 떨어지기 때문에 사용자는 이 설정을 해야 합니다.아마도 Oomph 설치 중에 Welcome Questions(환영 설문지)에 질문이 있을 것입니다.

충족되지 않을 경우 [Window]> [ Preferences ]> [ General ]> [ Keys ]에서 자신에게 키바인딩을 할당할 수 있습니다.

어떤 이유로 인해 Eclipse 설정이 손상되었기 때문에 /.plugins/org.eclipse.e4 파일을 수동으로 편집해야 했습니다.워크벤치/워크벤치.xmi

이전에 +를 브라우저와 같은 탭 전환으로 Tab설정했으므로, Eclipse 기본 설정에서 모든 키 바인딩을 재설정해도 바로 가기가 제거되지 않습니다(어디에도 표시되지 않음).위에서 언급한 파일을 열고<bindings>「」라고 하는 가 붙은 <tags>type:user</tags>기능하지 않는 단축키와 관련되어 있습니다.

원하는 에디터에 도달할 때까지 누른 후 놓습니다.UI는 윈도우 선택만큼 예쁘지는 않지만 기능은 동일합니다.

SLES12 머신에서는 기본적으로 + 및 PageDown+를 사용하여 탭 사이를 PageUp이동할 수 있습니다.기본 설정 창에서 항상 "일반" 범주 아래의 "키" 섹션을 검색하여 이러한 키를 변경할 수 있습니다.이 과정은 위의 Victor와 VonC에 의해 잘 설명되어 있습니다.

Eclipse에서 열린 창을 전환하려면 어떻게 해야 합니까?

CTRL+F7은 여기서 동작합니다.Windows 에서는 이클립스 포토를 사용합니다.

어떤 이유에서인지 새 바인딩을 추가하는 것만으로는 작동하지 않는 것 같습니다(eclipse 2021-06).

대신:

  • Copy CommandNext Tab ★★★★★★★★★★★★★★★★★」Previous Tab
  • 언제를 '언제'로 바꾸다In Windows
  • 새 바인딩 추가
  • Apply and Close

이클립스 키 매핑 스크린샷

@Gillfish는 다른 답변의 코멘트에서 이 점을 언급했지만, 저는 그 해결책을 명확하게 표면화하는 것이 좋다고 생각했습니다.

2022-03까지의 Eclipse 버전에서는 +와 같은 LRU 순서로 에디터 간에 전환이 가능했습니다.- 같은 기능이라고 생각합니다.2022년 버전부터는 +를 사용하여 다른 창으로 이동(편집기에서 아래쪽 창으로 이동 또는 아래쪽 창에서 사이드바 중 하나로 이동)하는 경우에는 더 이상 해당되지 않습니다.

어느 경우든 Windows > [ Preferences ]- > [ General ]- > [ Keys ]설정 대화상자에 + 는 사용된 바인딩으로 표시되지 않습니다.하드 코드화되어 있는 것 같습니다.

멀티탭 어플리케이션에서는 +를 사용하여 탭을 전환하는데 익숙하고, 어쨌든 +보다 훨씬 쉬운 단축키이기 때문에 매우 짜증이 났습니다.

해결방법은 키 설정 대화상자로 이동하여 [Quick Switch Editor]숏컷을 +에서 +로 바꿉니다.

기본적으로 필요한 것은 "퀵 스위치 에디터"입니다. 한 번 누른 후 빠르게 해제하고 이전에 사용하던 에디터로 돌아가 한 번 누른 후 수정자를 누르면 다른 에디터로 LRU 순서로 이동할 수 있는 메뉴가 나타납니다.

언급URL : https://stackoverflow.com/questions/2332330/eclipse-hotkey-how-to-switch-between-tabs

반응형