Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request/Enhancement] Adding an option for lines to start with the dollar symbol #29

Closed
VonSchnitzel opened this issue Nov 9, 2017 · 3 comments

Comments

@VonSchnitzel
Copy link

Hope it's ok to log feature requests under 'issues'. Sorry if not!

I was wondering if it'd be possible to add an option for new lines to begin with the dollar symbol ($) rather than line numbers. So for example you'd have:

$ rename-computer -NewName NoteHighlighterRocks
$ restart-computer -Force
$ etc

I realise I could manually put the symbol in front of each line before using the highlight tool as well but figured I'd ask in case it was just a straight forward feature to implement.

@elvirbrk
Copy link
Owner

I will see if I can include something in next update.
Could you just explain if you want $ instead of line number or you want line numbers and $ sign?
Also, when you select code, do you want to select $ sign as well or only code?

@VonSchnitzel
Copy link
Author

Thank you. Ideally it would be instead of line numbers. So rather than for example:

1 rename-computer -NewName ComputerA
2 restart-computer -Force

it would be

$ rename-computer -NewName ComputerA
$ restart-computer -Force

When selecting code, I'd usually just select the code without the $ sign.

@elvirbrk
Copy link
Owner

Added feature in v3.3
In config file just add LineNrReplaceCh="$" instead of LineNrReplaceCh="" on this line:
<HighLightSection FolderName="highlight" ProcessName="highlight.exe" ThemeFolder="themes" LineNrReplaceCh="">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants