IntelliJ Plugin Development Notes
  • Plugin Development Notes for JetBrains IDEs
  • Project Setup
    • Target a Specific IDE
  • OpenAPI
    • Actions
      • DumbAwareAction
    • Options
      • SettingsEditor
  • UI
    • Navigation
    • Tool Window
    • Icons
    • Project Wizard
    • Internationalization
    • Status Bar
    • Layout Managers
    • Text
    • Dialogs
    • Services Tool Window
  • Common Patterns
    • PSI Facade
    • Smart Mode and Dumb Mode
    • Lazy
  • Official Documentation
    • IntelliJ Platform SDK DevGuide
    • IntelliJ SDK Platform Documentation (GitHub)
    • Design Guidelines
    • Getting Started With IntelliJ
    • Creating IntelliJ Platform SDK Code Samples
  • Example Code
    • IntelliJ IDEA - Community Edition (Upsource)
    • IntelliJ IDEA Community Edition (GitHub)
    • Code Samples from SDK Docs
    • Open Source IntelliJ Plugins
    • Gradle Plugin Examples
    • IntelliJ Platform Plugin Template
  • Community
    • JetBrains Platform Slack
    • JetBrains Community Discord
    • Open API Community Support
  • Misc Links
    • FileDocumentManager Examples
  • Tools
    • Indices viewer
    • PsiViewer
    • UI Inspector
    • IntelliJ Platform Explorer
    • Plugin Validator
  • Tutorials
    • Publishing and Distributing a development build
    • Add New Module Type to the New Project Wizard
    • Auto-detect Executable File
  • Questions
    • Where are persistant state and settings files
Powered by GitBook
On this page
  • Formatting
  • SimpleTextAttributes
  • MessageTypes
  • NLS Contexts

Was this helpful?

  1. UI

Text

Conventions for displaying text

PreviousLayout ManagersNextDialogs

Last updated 1 year ago

Was this helpful?

Formatting

SimpleTextAttributes

The SimpleTextAttributes class provides display contants to allow displaying text in a consistant way. This includes style (bold, italic, etc.), color, and size. Attributes can be a utility attribute including only one style rule or helper attributes that combine several styles together if a component requires several to be applied.

TODO list and screenshots of available styles

MessageTypes

NLS Contexts

NLS Contexts provide annotations to enforce some wording and grammar style guides (FIXME not sure if this is exactly right, but it's how I understand it)

intellij-community/SimpleTextAttributes.java at 0f093e6cc25f384a2fa4d47f8404de9dd51dc018 · JetBrains/intellij-communityGitHub
intellij-community/MessageType.java at 2262d55ebc98b34ce85ec3f262a7b7aa6f6a741f · JetBrains/intellij-communityGitHub
https://github.com/JetBrains/intellij-community/tree/master/platform/platform-api/src/com/intellij/com/intellij/openapi/util/NlsContexts.javagithub.com
Logo
Logo