Home
  • Products
  • Solutions
  • Support
  • Company
  • Products
  • Solutions
  • Support
  • Company
Community PCB Design Pulse and DE-HDL Set default text editor in Windows

Stats

  • State Not Answered
  • Replies 6
  • Subscribers 20
  • Views 830
  • Members are here 0
More Content

Set default text editor in Windows

RichardD
RichardD 2 months ago

Hi,

I want to use Notepad++ as my text editor, but only for myself (my computer) as others that open the schematic may not have this installed.

Help files state if you set the environment variable CDS_TEXT_EDITOR it will override the settings in the Tools tab.  I tried this in Win10 and with 17.2 and it's not working (yes I restarted after the change).

CDS_TEXT_EDITOR=C:\Program Files (x86)\Notepad++\notepad++.exe

Has anyone gotten this to work?

Richard

  • Reply
  • Cancel
  • Cancel
  • srish09
    0 srish09 2 months ago

    Apart from defining the environment variable, try adding $CDS_TEXT_EDITOR directive in the <project>.cpm file under CONCEPTHDL section.

    START_CONCEPTHDL

    TEXT_EDITOR '$CDS_TEXT_EDITOR'

    END_CONCEPTHDL

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • RichardD
    0 RichardD 2 months ago in reply to srish09

    Thanks for the tip, this worked to let me use Notepad++, but then I tried opened the project on another PC without this tool or the environment variable set and it causes an error and doesn't open the default (regular notepad) nor the setting in Setup-Tools.

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • srish09
    0 srish09 2 months ago in reply to RichardD

    Can you share screenshot of the error message? If you are opening the same project on another machine, DE-HDL is possibly looking for the $CDS_TEXT_EDITOR env variable, which is not defined. Try putting 'notepad' in Tools > Options >Text on machines where Notepad++ is not available.

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • RichardD
    0 RichardD 2 months ago

    Here is the error:

    Setup:

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • srish09
    0 srish09 2 months ago in reply to RichardD

    The default text editor path under setup is 'write'

    In DE-HDL, go to Tools > Options > Text, and put the Text Change Editor' as 'notepad'

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2023 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information