문제

Scala 코드를 작성하기 위해 Eclipse 및 Scala 플러그인을 사용하고 있습니다.편집기는 제한된 구문 강조 표시 옵션이있는 것으로 보입니다. 예를 들어 변수의 서식 (Blue Like) 및 메소드 Defs를 변경하고 싶습니다.

eclipsescolorer와 같은 몇 가지 다른 형광펜 플러그인이 있지만 자동 완성 및 제안과 같은 스칼라 (또는 다른 langauges) 편집기의 특징을 잃는 것으로 보입니다.

스칼라 플러그인을 수정하여 Scala 구문 색칠 / 서식 옵션을보다 미세하게 제어 할 수 있습니까?

도움이 되었습니까?

해결책

Some of this is being worked on. The nightly build page has 'Semantic Highlighting' (making variables blue etc) marked as 'coming soon.

Also the current roadmap may help with when a released version on the eclipse-scala ide.

(As 'coming soon' is very date dependent then 'today' is 10/March/12 )

다른 팁

The editor that comes with the Play Framework Eclipse plugin has syntax highlighting customizability: http://scala-ide.org/download/current.html

You can go to Preferences -> Scala -> Syntax Coloring to set the different colors.

Have you tried Eclipse Color Theme?

Scala auto complete, etc. unaffected ;-)

A slightly tweaked Wombat theme in Scala works well for me (also: Aptana Eclipse plugin helps immensely with html/css/erb, etc.)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top