๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
2๏ธโƒฃ Java/Java ์ •๋ฆฌ

[Java] macOS์—์„œ Eclipse ์‚ฌ์šฉ์‹œ ํ•œ๊ธ€ ์”นํž˜ ๋ฌธ์ œ

by seolhee2750 2022. 7. 3.

macOS ์œ ์ €๋ผ๋ฉด Ecplise ์‚ฌ์šฉ์‹œ ๋งˆ์ง€๋ง‰ ํ•œ ๊ธ€์ž๊ฐ€ ์ž๊พธ ์‚ฌ๋ผ์ง€๋Š” ๊ฒฝํ—˜์ด ์žˆ์„ ๊ฒƒ์ด๋‹ค,,

์ด๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•œ ๋ฐฉ์•ˆ์„ ์†Œ๊ฐœํ•ด๋ณด๋ ค๊ณ  ํ•œ๋‹ค.

 

์•„๋ž˜์˜ ๋ธ”๋กœ๊ทธ๋ฅผ ์ฐธ๊ณ ํ•˜์—ฌ ํ•ด๊ฒฐํ•˜์˜€๋Š”๋ฐ, ๋ธ”๋กœ๊ทธ ๋‚ด์šฉ ์š”์•ฝ ๋ฐ

(๋‚˜์—๊ฒ)๋ถ€์กฑํ–ˆ๋˜ ๋ถ€๋ถ„์ด๋‚˜ ์ถ”๊ฐ€๋กœ ํ•„์š”ํ•˜๋‹ค๊ณ  ์ƒ๊ฐ๋˜๋Š” ๋ถ€๋ถ„๋“ค์„ ์ถ”๊ฐ€ํ–ˆ๋‹ค.

https://log.taedi.net/eclipse-mac-kor-fix/#%ED%98%84%EC%9E%AC%EA%B9%8C%EC%A7%80-%EB%B0%9C%EA%B2%AC-%EB%90%9C-%EB%AC%B8%EC%A0%9C%EC%A0%90

 

์ดํด๋ฆฝ์Šค(eclipse), Dbeaver ๋งฅ์—์„œ ํ•œ๊ธ€ ์งค๋ฆผ๋ฌธ์ œ ํ•ด๊ฒฐ

์ดํด๋ฆฝ์Šค, Dbeaver ๋งฅ(macOS)์—์„œ ํ•œ๊ธ€์ด ์งค๋ฆฌ๋Š” ๋ฌธ์ œ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• ์†Œ๊ฐœ

log.taedi.net

 

[1] Karabiner-Elements ์„ค์น˜ ๋ฐ .json ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ

์šฐ์„  ์•„๋ž˜์˜ ์‚ฌ์ดํŠธ์—์„œ ๋‹ค์šด๋กœ๋“œ๋ฅผ ํ•ด์ค€๋‹ค.

https://karabiner-elements.pqrs.org/

 

Karabiner-Elements

A powerful and stable keyboard customizer for macOS.

karabiner-elements.pqrs.org

 

์„ค์น˜ํ•˜๋ฉด ๋Ÿฐ์น˜ํŒจ๋“œ์— ์•„๋ž˜์™€ ๊ฐ™์€ ์•ฑ๋“ค์ด ์ƒ๊ธฐ๋Š”๋ฐ,

๊ฐ๊ฐ์˜ ์•ฑ์„ ํด๋ฆญํ•˜์—ฌ, ์‹œ์Šคํ…œ ํ™˜๊ฒฝ์„ค์ • ์š”๊ตฌ์‚ฌํ•ญ๋“ค์„ ๋ชจ๋‘ ํ•ด๊ฒฐํ•ด์ค€๋‹ค.

 

๊ทธ ํ›„ ์œ„์˜ ๋ธ”๋กœ๊ทธ ์ž‘์„ฑ์ž๋ถ„์˜ GitHub์—์„œ .json ํŒŒ์ผ์„ ๋‹ค์šด๋ฐ›๊ณ ,

๊ทธ ํŒŒ์ผ์„ ์•„๋ž˜ ๊ฒฝ๋กœ์— ์œ„์น˜์‹œ์ผœ์•ผ ํ•œ๋‹ค.

~/.config/karabiner/assets/complex_modifications

๊ทธ๋Ÿฐ๋ฐ ๋‚˜์˜ ๊ฒฝ์šฐ ์ € ๊ฒฝ๋กœ๋ฅผ ๋„์ €ํžˆ ๋ชป์ฐพ์•„์„œ ใ…œ

ํ„ฐ๋ฏธ๋„์„ ์ด์šฉํ•˜์—ฌ ํ•ด๋‹น ๊ฒฝ๋กœ์— ๊ฐ™์€ ์ด๋ฆ„์˜ ํŒŒ์ผ์„ ์ƒˆ๋กœ ๋งŒ๋“  ํ›„ vi ํŽธ์ง‘๊ธฐ๋กœ ๋‚ด์šฉ์„ ๋ณต๋ถ™ํ•ด์ฃผ์—ˆ๋‹ค.

 

๐Ÿ‘‰ ํ„ฐ๋ฏธ๋„์—์„œ ์ƒˆ๋กœ์šด ํŒŒ์ผ ์ƒ์„ฑ ๋ฐฉ๋ฒ•

1. ํ•ด๋‹น ๊ฒฝ๋กœ๋กœ ์ด๋™ (cd ๊ฒฝ๋กœ)

cd ~/.config/karabiner/assets/complex_modifications

 

2. ํŒŒ์ผ ์ƒ์„ฑ (touch ํŒŒ์ผ๋ช….ํ™•์žฅ์ž) ๋ธ”๋กœ๊ทธ ์ž‘์„ฑ์ž๋ถ„์ด ๋งŒ๋“œ์‹  ํŒŒ์ผ๋ช…๊ณผ ๋˜‘๊ฐ™์ด ๋งŒ๋“ค์—ˆ๋‹ค.

touch eclipse_kor_fix.json

 

3. ํ•ด๋‹น ํŒŒ์ผ์˜ vi ํŽธ์ง‘๊ธฐ ์—ด๊ธฐ (vi ํŒŒ์ผ๋ช….ํ™•์žฅ์ž)

vi eclipse_kor_fix.json

 

4. vi ํŽธ์ง‘ (i, ๋‚ด์šฉ ๋ณต์‚ฌ, Esc, :wq)

i
// ๋‚ด์šฉ ๋ณต์‚ฌ
Esc
:wq

i -> ์ž…๋ ฅ ์‹œ์ž‘ ๋ช…๋ น

Esc -> ์ž…๋ ฅ ์ข…๋ฃŒ ๋ช…๋ น

:wq -> ์ €์žฅ ํ›„ vi ํŽธ์ง‘ ์ข…๋ฃŒ ๋ช…๋ น

 

์œ„์™€ ๊ฐ™์ด ์‹คํ–‰ํ•ด์ฃผ๋ฉด ์„ฑ๊ณต์ ์œผ๋กœ ํŒŒ์ผ์ด ์ƒ์„ฑ๋œ๋‹ค.

 

[2] Karabiner-Elements ์„ค์ •

์ „์—  Karabiner์„ ์„ค์น˜ ํ›„ ํ™•์ธํ•œ ๋‘ ๊ฐœ์˜ ์•ฑ ์ค‘, Karabiner-Elements๋ผ๋Š” ์•ฑ์„ ์—ด์–ด์ค€๋‹ค.

 

๊ทธ๋ฆฌ๊ณ  ์•„๋ž˜์™€๊ฐ™์ด Complex modifications ๋ฉ”๋‰ด์—์„œ ๋ฃฐ์„ ์ถ”๊ฐ€ํ•ด์ฃผ์–ด์•ผ ํ•˜๋Š”๋ฐ,

์ขŒ์ธก ํ•˜๋‹จ์˜ Add rule ๋ฒ„ํŠผ ํด๋ฆญ ํ›„ '์ดํด๋ฆฝ์Šค ํ•œ๊ธ€ ์งค๋ฆผ ํ•ด๊ฒฐ v1.01'์˜ Enable All์„ ํด๋ฆญํ•ด์ฃผ๋ฉด ๋œ๋‹ค.

(์ด์ „์— ๋‹ค๋ฅธ ๋ฃฐ์„ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์—ˆ๋‹ค๋ฉด ์ด ๋ฃฐ์„ ๊ฐ€์žฅ ์œ„๋กœ ์˜ฌ๋ ค ์šฐ์„ ์ˆœ์œ„๋ฅผ ๋†’์—ฌ์ฃผ๋ฉด ๋œ๋‹ค๊ณ  ํ•œ๋‹ค.)

 

๊ทธ๋ฆฌ๊ณ  ์•„๋ž˜์™€ ๊ฐ™์ด Devices ๋ฉ”๋‰ด์—์„œ ๋‚ด๊ฐ€ ๋งˆ์šฐ์Šค ๋ฐ ํ‚ค๋ณด๋“œ๋กœ ์‚ฌ์šฉํ•  ๊ธฐ๊ธฐ๋“ค์„ ๋ชจ๋‘ ์ฒดํฌํ•ด์ค€๋‹ค.

 

+ ์ถ”๊ฐ€, ๋ณด์กฐํ‚ค ์„ค์ •

๋‚˜๋Š” ๋‹ค๋ฅธ ํ‚ค๋ณด๋“œ๋ฅผ ์‚ฌ์šฉ์ค‘์ด๊ธฐ ๋•Œ๋ฌธ์— ๋ณด์กฐํ‚ค๋ฅผ ์›๋ž˜์™€ ์ข€ ๋‹ค๋ฅด๊ฒŒ ์„ค์ •ํ•ด ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š”๋ฐ,

์ด๋Ÿฐ ๊ฒฝ์šฐ์ด์‹  ๋ถ„๋“ค์€ Karabiner์„ ์‚ฌ์šฉํ•˜๊ฒŒ ๋˜๋ฉด ๋‹ค์‹œ ๋ณด์กฐํ‚ค๋ฅผ ์กฐ์ •ํ•ด์ฃผ์–ด์•ผ ํ•œ๋‹ค.

 

์•„๋ž˜ ํ™”๋ฉด๊ณผ ๊ฐ™์ด ๊ธฐ์กด์— ์‚ฌ์šฉํ•˜๋˜ ํ‚ค๋ณด๋“œ ์™ธ์— Karabiner๊ฐ€ ์ถ”๊ฐ€๋œ ๊ฒƒ์„ ๋ณผ ์ˆ˜ ์žˆ๋‹ค.

 

๊ทธ๋Ÿฐ๋ฐ ์ด ๊ฒฝ์šฐ ํ•˜๋‚˜ ์•„์‰ฌ์šด ์ ์€

์›๋ž˜๋Š” ๋งฅ๋ถ์— ์žˆ๋Š” ํ‚ค๋ณด๋“œ์™€ ๋”ฐ๋กœ ์‚ฌ์šฉํ•˜๋Š” ํ‚ค๋ณด๋“œ๋ฅผ ๊ฐ๊ฐ ๋ณด์กฐํ‚ค๋ฅผ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์—ˆ๋Š”๋ฐ,

Karabiner ์‚ฌ์šฉ์‹œ ๋‘ ํ‚ค๋ณด๋“œ์˜ ์„ค์ •์ด ๊ฐ™์•„์ง€๊ฒŒ ๋œ๋‹ค. ๊ทธ๋ž˜๋„ ์–ด์ฉ”์ˆ˜์—†์œผ๋‹ˆ ๊ทธ๋ƒฅ ์‚ฌ์šฉํ•  ์˜ˆ์ •,,

 

+ ๊ทธ๋ฆฌ๊ณ  ์›๊ธ€ ์ž‘์„ฑ์ž๋ถ„๊ป˜์„œ๋Š” '๊ตฌ๋ฆ„ ์ž…๋ ฅ๊ธฐ'๋ผ๋Š” ์ž…๋ ฅ์†Œ์Šค๋ฅผ ๋”ฐ๋กœ ๋‹ค์šด๋ฐ›์•„ ์‚ฌ์šฉํ•˜์…จ๋Š”๋ฐ,

๋‚˜์˜ ๊ฒฝ์šฐ์—๋Š” ๊ตฌ๋ฆ„ ์ž…๋ ฅ๊ธฐ ์‚ฌ์šฉ์‹œ ํ•œ์˜๋ณ€ํ™˜์ด๋‚˜,, ์ด๋Ÿฐ ๊ฒƒ๋“ค์ด ๋„ˆ๋ฌด ์–ด์ƒ‰ํ•˜๋‹ค๊ณ  ๋Š๊ปด์ ธ์„œ ํ•˜์ง€ ์•Š์•˜๋‹ค.


์‚ฌ์‹ค ์ธํ…”๋ฆฌ์ œ์ด๋ฅผ ์‚ฌ์šฉํ•ด์ฃผ๋ฉด ์ด๋Ÿฐ ๋ฌธ์ œ ์ „ํ˜€ ์—†์ด ํŽธ๋ฆฌํ•˜๊ฒŒ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•˜๊ธฐ ๋•Œ๋ฌธ์—,,

์ธํ…”๋ฆฌ์ œ์ด๋ฅผ ๊ถŒ์žฅํ•˜์ง€๋งŒ ๋‚˜๋Š” ์ดํด๋ฆฝ์Šค๋ฅผ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋Š” ์ƒํ™ฉ์ด๋ผ ์–ด์ฉ” ์ˆ˜ ์—†์ด ์ด๋Ÿฐ ๋ฐฉ๋ฒ•์„ ํƒํ–ˆ๋‹ค.

 

ํ˜น์‹œ ์ธํ…”๋ฆฌ์ œ์ด๋ฅผ ์“ฐ์…”๋„ ๊ด€๊ณ„ ์—†๋Š” ๋ถ„๋“ค๊ป˜์„œ๋Š” ์ธํ…”๋ฆฌ์ œ์ด ์“ฐ์„ธ์šฉ !

๋Œ“๊ธ€