Programing

Eclipse IDE : 텍스트를 확대하는 방법?

lottogame 2020. 6. 19. 19:23
반응형

Eclipse IDE : 텍스트를 확대하는 방법?


마우스의 스크롤 버튼을 사용하여 현재보기를 확대 및 축소 할 때 Firefox와 동일한 동작을 원합니다. 일식과 같은 것이 있습니까?


이 Google 코드 사이트에는 일식 플러그인을 만든 'tarlog'라는 프로젝트가 있습니다. http://code.google.com/p/tarlog-plugins/downloads/detail?name=tarlog.eclipse.plugins_1 .4.2.jar & can = 2 & q =

이클립스에 대한 다른 기능 이 있습니다. 글꼴 크기를 변경하기 위해 Ctrl+ +Ctrl+ 중 하나는 -놀랍습니다.


너무 늦었지만 도움이 될 수 있습니다.

창 메뉴> 환경 설정> 일반> 모양> 색상 및 글꼴로 이동하십시오.

그런 다음 Java> Java 편집기 텍스트 글꼴> 편집으로 이동하십시오.


이클립스 글꼴 확장 글꼴 크기를 변경하기위한 도구 모음 단추 및 키보드 바로 가기를 추가 할 것입니다. 그런 다음 오토 핫키를 사용하여 Ctrl + 마우스 휠을 확대 / 축소 할 수 있습니다 .

아래 도움말 | 메뉴에서 새 소프트웨어 설치 ... 를 클릭하고 업데이트 URL ( http://eclipse-fonts.googlecode.com/svn/trunk/FontsUpdate/ )을 다음으로 작업 : 텍스트 상자에 붙여 넣고 Enter 키누릅니다 . 트리를 확장하고 다음 이미지와 같이 FontsFeature선택하십시오 .

Eclipse 확장 설치 화면 캡처

설치를 완료하고 Eclipse를 다시 시작하면 A 도구 모음 단추 (다음 이미지에서 빨간색 원으로 표시)가 표시되고 키보드 단축키 Ctrl +-Ctrl + = 를 사용하여 확대 / 축소 할 수 있습니다 (Eclipse에서 해당 키를 바인딩 해제해야 할 수도 있음) 먼저).

글꼴 크기 도구 모음 단추가있는 Eclipse 화면 캡처

Ctrl + MouseWheel 확대 / 축소 를 얻으려면 다음 스크립트와 함께 AutoHotkey사용할 수 있습니다 .

; Ctrl+MouseWheel zooming in Eclipse.
; Requires Eclipse-Fonts (https://code.google.com/p/eclipse-fonts/).
; Thank you for the unique window class, SWT/Eclipse.
#IfWinActive ahk_class SWT_Window0
    ^WheelUp:: Send ^{=}
    ^WheelDown:: Send ^-
#IfWinActive

Starting from tonight nightly build of 4.6/Neon, the Eclipse Platform includes a way to increase/decrease font size on text editors using Ctrl+ and Ctrl- (on Windows or Linux, Cmd= and Cmd- on Mac OS X) : https://www.eclipse.org/eclipse/news/4.6/M4/#text-zoom-commands . The implementation is shipped with any product using a recent build of the platform, and is more reliable that the one in the alternative plugins mentioned above. It will be more widely available within weeks, when the IDE packages for Neon M4 will be available, and it will be part of the public Neon release in June 2016.


I've answered it here. How can I change font size in Eclipse for Java text editors?

For Eclipse Neon

To Increase Ctrl +

To reduce Ctrl - 여기에 이미지 설명을 입력하십시오


To zoom on Eclipse you can use : CTRL SHIFT + OR -


As per the recent changes you can use: (1) Ctrl/Shift/(+) for Zoom-in (2) Ctrl/Shift/(-) for Zoom-out


As mentioned in another answer, this plugin

http://code.google.com/p/tarlog-plugins/downloads/detail?name=tarlog.eclipse.plugins_1.4.2.jar&can=2&q=

makes Ctrl-+ and Ctrl-- zoom in and out. On MacOS that would be ⌘+ and ⌘-.

But at least on MacOS Lion and Eclipse Helios, ⌘- worked but not ⌘+ – no key combination (and I tried a bunch, including ⌘= and variants with Ctrl and Shift) would increase font size. However, by changing the key bindings, I was able to get it to work.

Preferences => General => Keys

Commands "Zoom Out" and "Decrease Font" were already set to ⌘- (and that seemed to work), so I set "Zoom In" and "Increase Font" to ⌘= (one of them was that and the other was ⌘+), and that worked.


Here is a cool way of ensuring zoom in and zoom out with mouse scroll-wheel in the Eclipse Editor. This one takes inspiration from the solution above from naveed ahmad which was not working for me.

1) First download Autohotkey from http://www.autohotkey.com/ and install it, then run it.

2) Then download tarlog-plugins from https://code.google.com/p/tarlog-plugins/downloads/list

3) Put the downloaded .jar file in the eclipse/plugins folder.

4) Restart Eclipse.

5) Add the following Autohotkey script, save it then reload it (right click on Autohotkey icon in taskbar and click "Reload this script")

; Ctrl + MouseWheel zooming in Eclipse Editor.
; Requires Tarlog plugins (https://code.google.com/p/tarlog-plugins/).
#IfWinActive ahk_class SWT_Window0
^WheelUp:: Send ^{NumpadAdd}
^WheelDown:: Send ^{NumpadSub}
#IfWinActive

And you should be done. You can now zoom in or zoom out with ctrl+mousewheel up and ctrl+mousewheel down. The only caveat is that Autohotkey must be running for this solution to work so ensure that it starts with Windows or run it just before firing Eclipse up. Works fine in Eclipse Kepler and Luna.


go to Eclipse > Prefences > General > Appearance > Color and Fonts > Basic > Text Font

Font problem will resolved I guess.Dont need a any plugin for this.


The googlecode fontsupdate does not work anymore unfortunately. You can however just download the code from github:

https://github.com/gkorland/Eclipse-Fonts

Just download it as .zip, and add it in eclipse:

Adding a local plugin

Then you have the familiar buttons again!


On Mac you can do Press 'Command' and '+' buttons to zoom in. press 'Command' and '-' buttons to zoom out.


Even more reliable than @mifmif :

Go to Window Menu > Preferences > General > Appearance > Colors and Fonts

then go to Basic.

This section has about 5 different fonts in it, all of which contain a size. If you go to an item in any other section (like Java > Java Editor Text Font as @mifmif suggested) the Edit Default and Go to Default buttons will be enabled. Clicking the latter takes you to the corresponding item in the Basic section. Clicking the former lets you edit that item directly.

Changing the Basic font items will handle not only Java text but just about every other text in Eclipse that can be resized, as far as I can tell.


Here's a quicker way than multi-layer menus without resorting to plug-ins:

Use the Quick Access tool at the upper left corner.

Type in "font", then, from the list that drops down, click on the link for "Preferences->Colors and Fonts->General->Appearance".

One click replaces the 4 needed to get there through menus. I do it so often, my Quick Access tool pulls it up as a previous choice right at the top of the list so I can just type "font" with a tap on the enter key and Boom!, I'm there.

If you want a keyboard shortcut, Ctrl+3 sets the focus to the Quick Access tool. Better yet, this even automatically brings up a list with your previous choices. The last one you chose will be on top, in which case a simple Ctrl+3 followed by enter would bring you straight there! I use this all the time to make it bigger during long typing or reading sessions to ease eye strain, or to make it smaller if I need more text on the screen at one time to make it easier to find something.

It's not quite as nice as zooming with the scroll wheel, but it's a lot better than navigating through the menus every time!


What I am doing is using the Windows 10 magnifier. Not the same as zooming on firefox, but it has been quite useful.


eclipse.ini에서 -Dorg.eclipse.swt.internal.carbon.smallFonts를 제거하는 tarlog 플러그인은 Eclipse Luna (4.4)를 사용하여 MacOS Yosemite에서 피곤한 눈을 helps습니다.

문제 : PyDev foo.py Python 파일에서 작동하지 않았습니다. 해결 방법 : foo.java라는 파일을여십시오-글꼴 크기를 변경하십시오. foo.py와 voila로 돌아갑니다 !! -파이썬 글꼴 크기는 Java 글꼴 크기와 일치합니다.

참고 URL : https://stackoverflow.com/questions/790720/eclipse-ide-how-to-zoom-in-on-text

반응형