Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Syntax Highlighting bei erb-files unter Eclipse

Empfohlene Antworten

Veröffentlicht

Hallo,

weiß jemand, wie man Eclipse dazu bekommt, Syntax Coloring bei erb-Datein (embedded Ruby) zu machen? Ich arbeite mit der Version: 3.4.2 und sonstige, derzeit für mich relevanten Sprachen (Ruby, HTML, CSS) werden ohne Probleme bunt gemacht.

Bloß der Code von erb-Files bleibt trocken und grau. Was tun?

Vielen Dank für Tipps.

  • Autor

Cool, danke. Das kannte ich noch nicht.

Eine Frage dazu vielleicht noch: Ich hab da ja eine recht große Auswahl an Editoren, die den Quellcode verschieden highlighten. Bleibt das nun meinem Geschmack überlassen, ob ich (in diesem Fall) den HTML (bzw. CSS)- oder den Ruby Source Editor nehme oder wonach treffe ich die Auswahl?

Edit: Sorry, zu voreilig der Beitrag. Der HTML Editor highlightet natürlich die HTML-Bestandteile und der Ruby-Editor entsprechend die Anderen. Ich nehme an, dass kein Editor gleichzeitig verschiedene Sprachen auseinander halten kann, deshalb eben nur eins von beidem.

Bearbeitet von Ulfmann

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.