Is it possible to write notepad++ plugin for tooltip on mouseover of text? - plugins

I have a text file with a list of registers, and I want to write a notepad++ plugin where the user can mouseover one of these registers (text), and a tooltip window pops up which contains information about the register.
I know that notepad++ supports c# and python plugins, and I understand that this type of functionality may be possible in javascript, but I am unsure if notepad++ plugins can be written in javascript, or if this functionality is even possible with a notepad++ plugin.
Sorry that I do not have any code to show, I am very new to writing notepad++ plugins, and so before embarking on this adventure I wanted to verify that this endeavor was even possible. Thank you!

Related

There is a plugin or way to jump/go to definition/declaration in Sublime Text 3 like in Eclipse by Command+L-Click?

In Eclipse you can jump to definition/declaration by clicking on hyperlinks with pressing command key (control for Windows). I would like to use the same functionality for Sublime Text 3. Mostly I work with Robot Framework with a lot of files and would like to jump to the source of Keyword through whole project.
In sublime this kind of feature is provided by plugins.
Look at https://sublime.wbond.net/packages/Robot%20Framework%20Assistant or https://sublime.wbond.net/packages/Robot%20Framework, but be aware you can't use both, they conflict.
This plugin allows you to jump from .txt (.robot) files to the keyword's definition in .py and in .txt (.robot) in case they are resource files. Please read more here: https://github.com/andriyko/sublime-robot-framework-assistant
You can add below two plugins in pycharm, it will then allow you to navigate.

How to create a Notepad++ macro to run multiple plugins automatically?

I am using Notepad++ for different languages i.e: JAVA, C, C++. For each of these languages I have installed plugins to make coding easier in Notepad++.
The problem is that every time I start Notepad++ I have to go and run all those plugins manually. I tried recording a macro so that it will perform all these actions by one click but it didn't record anything I did with the plugins. The macro will record any changes I bring to the code or if I save the code to some other location but it won't record the actions performed by the plugins.
Can anyone guide me to a solutions.
Thank you in advance.
Have a look at AutoHotKey tool. It can send keystrokes/mouseclicks to Notepad++ so you can easily combine invoking many menu items into one command. (And much more like work with clipboard, ask for values in input boxes, run apps or DLL's.) Please see AutoHotKey usage with Notepad++ in this answer.

Name IDE function of auto-complete for functions, defines, etc in header files

Qt Creator, Eclipse, and almost IDE's have an auto-complete for the functions that I had created in the headers files and I can navigate through the definitions of the functions.
First I want to know how that feature is called so I can search if it is possible to do the same with sublime text.
Thanks
It is called code completion. Keep in mind that to show up functions defined in other than the current file, you need to create a project (or whatever sublime calls this) so it can scan further files.
You might find this question usefull:
Sublime Text 2 and ZF2 ... auto complete not works

how to write notepad++ auto-complete plugin

I'm trying to develop a small plugin that will do a sort-of auto-completion along with some other advanced features in order to create a primitive IDE to use with a custom scripting language we've developed.
So I want to know, how do the auto-complete plugins usually work? I have a basic plugin template that I'm playing around with (the C# one) and I see how the commands work, from a high level anyway, but I'm trying to figure out how I would create my auto-complete feature.
My first guess would be to make a command that spawned a new thread that retrieved the entire contents of the notepad++ text every 100 mills or so and then popped-up a little selector box or directly wrote the auto-complete possibilities when the correct pattern was matched on the newly typed text.
Any wisdom from those who have gone before me on this?
Thanks alot.
Well I figured it out. Apparently there is a "beNotified" method in my project template that I downloaded and it handles all events/notifications from the Scintilla/Notepad++ environment. I will probably be using the SCN_CHARADDED event to check the current line of text each time a character is added to the GUI.

Macro functionality with keyboard shortcuts in Eclipse?

Having used Netbeans for ages and being new to Eclipse I couldn't see any built-in Macro functionality in Eclipse. I found the Practically Macro plug-in but this does not seem to have the capability to add keyboard shorcuts. One needs to go through two menus and therefore two mouse clicks to run a macro using the aforementioned plugin.
This does not serve well for my need of frequent macro applications. Is there anyway to have very simple Macros using keyboard shortcuts in Eclipse? Or should I start writing my own Eclipse plugin for this? Or perhaps use another light weight tool for this purpose? Do you have any suggestions?
There doesn't seem to be anything else than Practically Macro for Eclipse. Once you use a Macro, you can press Ctrl-Alt-P to replay that. This helps a bit, but when you want to switch between a couple of macros back and forth doesn't help much.
Not sure about this Macro plug-in you're using, but you can modify keyboard shortcuts (Helios) in Preferences->General->Keys.
Testing PracticallyMacro I found that it did not record right clicks but I was able to find a perfect utility 'TinyTask' and 'TyperTask'. The former can export record and save as small 'exe' files which can then be added as external Eclipse builders the latter can automate tasks based on typed characters - epic.