Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XDC Syntax Highlighting Theme for Notepad++

A custom User Defined Language (UDL) theme for Notepad++ to provide proper syntax highlighting for XDC (Xilinx Design Constraints) files. This repository includes two variations: a Dark Mode and a Light Mode theme, ensuring compatibility with your preferred Notepad++ style configuration.

Features

  • Syntax Highlighting: Clear and accurate highlighting for XDC commands, keywords, and values.
  • Dual Mode Support: Dedicated themes for both Dark and Light Notepad++ environments.
  • Easy Installation: Simple process using Notepad++'s built-in UDL import function.

Screenshots

  • Dark Theme XDC Dark Theme

  • Light Theme XDC Light Theme

Installation

1. Download the Theme Files

Download the latest release ZIP file from the Releases page or clone this repository:

git clone https://github.com/pofa10/XDC_for_NotepadPP

2. Import the UDL File

You can install the theme using either of the following methods:

Option A: Direct GUI Import (Recommended)

  1. Open Notepad++.
  2. Go to menu: Language -> User Defined Language -> Define your language...
  3. Click the Import... button.
  4. Select XDC_DarkTheme.xml (for Dark Mode) or XDC_LightTheme.xml (for Light Mode) from the UDLs/ folder.
  5. Restart Notepad++.

Option B: Copy to userDefineLangs Folder

The location depends on your Notepad++ installation:

  • Standard Installation: %APPDATA%\Notepad++\userDefineLangs (Paste this path into your Windows Explorer address bar).
  • Portable Installation: userDefineLangs\ subdirectory inside your Notepad++ folder.

Copy UDLs/XDC_DarkTheme.xml and/or UDLs/XDC_LightTheme.xml into that folder and restart Notepad++.

3. Apply the Theme

  1. Open an XDC file (or open the included example.xdc to test highlighting) in Notepad++.
  2. Go to the main menu: Language -> User Defined Language -> XDC_DarkTheme (or XDC_LightTheme).

Note: Select the theme that matches your global Notepad++ color scheme (configured under Settings -> Style Configurator).

Support and Donate

if you enjoy it or wanna help the author for more open-source projects, give it a ⭐️ and you can support them from here.

  • BTC: bc1qpprd4ug9s4ws66mwqx0xypdcx7e200jzfjkeum
  • ETH: 0xB9E09Ff8757C4233371C9Bf5109E528dAd9daE19
  • TRX: TRAzJXsMbtF63Gqr2opSP6hnssMJnrJZs5
  • XRP: rKE8XHE6GKHXzfC9qMERXXBvfcZU6RLVK5
  • DOGE: DSSS3sLKjCMLSYzbSz4tfYmCFMsuS9haA2

Feedback

if you have any suggestions and ideas or fixing bugs, please feel free to connect with me: farrokhi.pourya@gmail.com

or

linkedin

About

XDC Syntax Highlighting Theme for Notepad++

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages