I changed the NoteHighlightAddin.dll.config file like following, but it seems not working. <NoteHighLightForm.Properties.Settings> <setting name="ShowLineNumber" serializeAs="String"> <value>False</value> </setting> <add Name="LineNumbers" Key="-l" Value="" Option="false"/>
This is a brilliant little add-in! I had the 2013 Chinese installer version but this is way more stable and still in development.
I use Sublime and MS VS Code for development. It would be a really awesome feature if I could export from Sublime to NoteHighlight and it keep the formatting from the current theme. Definitely a feature not an issue as such. Keep up the good work!
I get the following issue when highlighting the text: Schema.DescribeFieldResult dfr = Account.Description.getDescribe();
and clicking the "Java" button. It worked fine for the code above (as shown in image)
I love this addin. I'm wondering if there's a way to replicate the powershell_ISE syntax highlighting as none of the current themes really work with powershell.
It may be just me but I noticed this in the last release too.
The default font used to be 'Courier New' and set fine. However now the code comes in formatted as 'Calibri', but when you look at the selected font it says 'Courier' (note not 'courier new'). It looks like it just throws away everything after the space and uses the space as a delimiter.
My workaround has been to use 'Consolas' by setting the value here:
NoteHighlightAddin.dll.config Line 41: <add Name="Font" Key="-k" Value="Consolas"/>
This is a pretty cool tool, but for those of us with LOTS of code snippets in OneNote already it would be very helpful if we could just select the existing text and then apply the syntax highlighting. As the tool is presently, I have to copy the existing snippet, paste it into the tool, copy it back to the OneNote page, then delete the original snippet. Very time consuming. Being able to simply format the existing snippets with a couple of clicks would be fantastic.
When I past code snippet into OneNote the white space is not the same / jumps. So for example, if I paste in a class (like in C#) the properties would jump to the right by a number of characters. So I would then have to manually move each property to the left to get it back into alignment. It is very annoying! I have the latest version of this repository installed - v3.5.
I installed the wrong version - 64 bit version - and now I cannot install the x86 version as it says a newer version has been installed. So how can I uninstall the 64 bit version?
After I download the 32-bit MSI and Microsoft Edge completes the security scan, I get a warning stating that the signature is invalid or corrupt. This precludes me from installing the program. Do you plan to sign the file with a valid signature?
When entering new code in the pop up box or selecting existing text and clicking on a language, when deselecting the line number option, it will then randomly add 'lang=la' between the text after it's been added.
Sorry for stupid question, I'm newcomer here, but how to install it on my PC? I downloaded zip package, but there isn't any .msi files at all. In instruction you wrote "To install just run MSI file from releases. For Office 64-bit use NoteHighlight2016.msi", but I cannot see one. What do I wrong?
Hi @elvirbrk! First off thank you for creating this great tool!
Second, I am new to using GitHub so excuse me if this is not proper protocol for this request (how do I label this as a question or enhancement?)
I am considering creating my own custom theme to match some IDEs I am more familiar with using. Is that as simple as creating a new *.theme file in C:\Program Files (x86)\CodingRoad\NoteHighlight2016\highlight\themes ?
Any thoughts/hints/advice would be appreciated. Thanks again.
I'm running a 64-bit Windows 7 Enterprise edition, with 32-bit Office 2016 installed. When I install NoteHighlight2016, no matter what installation directory I choose, it will always be installed into the root directory of C drive (C:\). I tried to installed it into a path without spaces (C:\Users\username\NoteHighlight2016) but it didn't work.
As I thought it's related to permission issues, I tried to run the installer with administrator permission (run msiexec /a NoteHighlight2016x86.msi in an admin CMD), and it works. Hope you can have a look at the installation process, and try to request for admin permission if the installer cannot write into the selected directory.
When adding code with no line numbers, I am getting squares where the line numbers should be. When I do have line numbers, they show up just fine but I still get a square around the "N" in namespace. See picture for clarification.
I am using OneNote 2013 32-bit so this may just be an incompatibility issue on my end.
When inserting new codes, I find that it will always place everything at the top outside of the current textbox and in a new one and not where the cursor is.
If I select some text to convert to a NoteHighlight I get the above Exception.
Copy pasting the same text into a new NoteHighlight does not cause this error.
I have the OneNote app, not the office version as I don't have office. I tried installing this extension and it doesn't show, regardless of whether I install the 32 bit or 64 bit. I had look at the at the troubleshooting links but I'm not sure if they apply to the app because it's quite different. I'm not even sure if the app has 64 and 32 bit versions - it seems like there's just the one version. Any help would be greatly appreciated.
First of all, thank you for your work on this add-in.
I want to use it but even after installing the right .msi file for my version of office (x86 onenote) and
checking "add-ins" to see that it is in fact active, nothing shows up on my menus/toolbar or on the "customize ribbon" window. I can't figure out what I might be doing wrong.
I have cloned your source code in order to learn OneNote Addin Development. Unfortunately, after changing some text in the form(Change "OK" button to "OK-1") and build&install, I cannot see any changes. The addin seems has not updated(I had already uninstall the previous addin!). It appears that my Office addin is binded with mscoree.dll, not the installation folder like C:\Program Files\CodingRoad\NoteHighlight2016. I love OneNote and want to contribute to your addin project. I wonder if there are any help.
Using OneNote 2016 64bit on Windows 10.0.15063.632 64bit.
Was wondering if a feature for shading in the background for a text, and boxing it in could be added. Would help users differentiate their code from other work. As well as the ability to segment the code from the line indicators.
I am running office 32-bit and after I install the add-in and start one note I have code I want to highlight. so I highlight the code then click HTML from the tab. it opens the box the first time and the text in one note remains unchanged. I will admit that maybe I didn't understand the instructions but it seemed pretty straight forward. Also, if I close one note and try to restart it, I get the error: one note is cleaning up from the last time it ran and then an error that says one note is having trouble starting then I have to restart my computer to get one note to work again. (UPDATE) it seems that this behavior only happens if you click the language and then hit ok without actually putting any code in the box
We've standardized on OneNote for documentation at work but we don't have a code highlight solution yet. I suggested NoteHighlight2016, but there was concern over creating a dependency for everyone.
So, what happens to annotated pages if you don't have this plugin installed? Can they be viewed normally?
I apologise if this has been asked before, couldn't find it in the Issues tab. Thank you again for making our lives easier!
The default word size of the formatted codes generated by NoteHighlight is 10, which is too small to read easily, If a function of changing default word size of codes I will really appreciate it !!!
I'm not sure if this is a bug or it just hasn't been implemented yet, but I'm unable to format a piece of code by highlighting it and then selecting one of the code types. It will only ever format the first lines. Each line of code is currently separate by Shift+Enter, I've tried the same with Enter and it is the same result. So, I can only format one line at a time right now unless I type it out or use the Copy feature.
Also, it there any way to insert a code block somewhere specifically in the page without Copying because the Copy doesn't remove Spell Check and it's inconvenient to scroll to the top each time.
I have the same issue as here: #7. Changing to admin did not work, interestingly I have checked the registry for the key and there is no key created under onenote/addIns , its just empty. What should I do now?
By the way - thank you for developing this, believe me I need it badly for my project.
Thank you for this Awesome add-in. This is a OneNote issue, not NoteHighlight2016, but I am hoping you can help.
The inserted code is shown with a squiggly underline in OneNote, meaning a spelling error. The only way I know to disable it permanently is to add the code syntax to Dictionary, which is a hectic work to do for every code syntax. Can you make it automatic? Or any other solution to this?
Thanks in advance!
If I have the original expression WHERE COUNTRY='Germany'
the SQL formatter turns this into WHERE COUNTRY=apos;Germanyapos;
if I choose the Clipboard Output. It does not happen in the Box output.
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:
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.
tanks for your helpful tool but:
i installed the right one for my 64 bit oneNote and it show up the menu and language but when i select a language and write the code in box , it didn't highlight the code actually it didn't write anything .