Giter Club home page Giter Club logo

notehighlight2016's People

Contributors

dipakboyed avatar elvirbrk avatar iamhammer avatar jp41011 avatar msftjayongg avatar soumitro-saha avatar unusedaccount avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

notehighlight2016's Issues

Not showing after install

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.

Powershell_ISE syntax highlighting

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.

Feature

image

Can increase the background color like this?

Cannot install new version

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.
image

FeedBack

This is awesome. Can I suggest Adding a module for PowerShell and regular command line.

How to change the LineNumbersunchecked for default

Description

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"/>

System detail

Office 365 on Windows 10 x64

32-bit installer file signature invalid or corrupt

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?

Styling request for sublime / MS Visual Studio Code

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!

Doesn't Highlight With "right to left" setting

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 .

How to install it?

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?

PowerShell

Can we have highlighting for PowerShell? Or which one is the closed for PowerShell?

one note has issues starting and code is not highlighting.

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

Feature Request - Ignore Spelling for Code Highlight

Not sure if there is an easy way to achieve this but it would be nice to have spell check ignore Code Highlighted snippets.

Thanks for the work you have done on this plugin, I find it very useful.

Regards,

Using T-SQL in the SQL formatter

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.

Odd squares showing up

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.
capture
capture2

I am using OneNote 2013 32-bit so this may just be an incompatibility issue on my end.

Unable to format multiple lines

image
image
image

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.

Does using NoteHighlight2016 in a shared document mean everyone else has to use it?

Hello! Thank you for making this awesome tool.

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!

Missing Feature: Boxing IN

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.

Great job on this by the way!

Exception when trying to convert existing text

image

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.

Let me know if you want a sample text

When I past code snippet into OneNote the white space is not the same / jumps

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.

Inserting new codes in position

image
image
image

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.

Fonts with spaces ignored

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"/>

Files installed into drive root without admin permission

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.

Syntax Request

Installed but haven't used it yet, do you plan to add PowerShell at some point? Awesome add-on, I look forward to trying it out next week.

macOS support?

Any possibility of adding support for OneNote for Mac?

Anyway of getting this to work with the OneNote App?

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.

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

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.

Red squiggly underline in OneNote

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!

Exception from InsertHighLightCodeToCurrentSide

Hello,

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)

1

Kind Regards,

Sam

How do I uninstall

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?

Thanks,
Harry

An Exception: Unspecified error

using (PXRecord rec = PXBase.SelectSingle<APSetup>( new PXField("Param"))) { Param = false; }

When I select that code to convert I get the error:

an exception unspecified error

Apostrophe's in Python Formating

When using the Python formating, apostrophe's come out as ' rather than '.

Example:
Expected
multiply_word('movie', 2)

Result:
multiply_word(&apos;movie&apos;, 2)

Option for choosing custom themes

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.

Feature Request

Not an issue, but a feature request.

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.

How to install

I couldn't find NoteHighlight2016.msi, where is it located?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.