Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
IDEs like Eclipse, CodeBlocks and editors like Notepad++ highlights all instances of a double clicked word. I miss this feature in gedit. Of course, I can do Ctrl+k to highlight all instanced, but it is weird. Is there anyway this feature can be added to gedit by way of plugins? Are there any other editors which can do this in Linux,
I think this plugin does want you want:
git clone http://github.com/mmuell23/mmuell23.git
cp -r mmuell23/gedittools/* ~/.gnome2/gedit/plugins
Activate plug-in in gedit preferences and configure it as you wish.
Credits to https://github.com/mmuell23/mmuell23
I just blogged about writing plugins for Gedit 3 (which are not compatible with Gedit 2). If you know Python and have Gedit 3 yet, this plugin would not be that difficult. You'd want to implement the Gedit.ViewActivatable interface and utilize the search function provided with the Gedit.Document API.
Writing Plugins for Gedit 3 with Python
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
If I define a JavaScript function like this on a React component, Sublime Text 3 will next recognize it if I search for functions with the appropriate command (cmd R on a Mac)
foo = () =>{
}
I am defining it that way because it preserves type safety in TypeScript if I do, for example
foo = (event: Event) => {
}
Is there a way to support this style syntax for Sublime Text 3 (for example, by altering a configuration file or something else)? I tried a Babel javascript plugin and it didn't help, open to any type of solution.
The latest public build, #3114, supports this functionality, so you can simply upgrade your old version.
Alternatively, you update the JavaScript package. Clone the entire sublimehq/Packages repository, then either copy or link the JavaScript directory to Sublime'sPackages` directory:
Windows Regular Install: %APPDATA%\Sublime Text 3\Packages
Windows Portable Install: InstallationFolder\Sublime Text 3\Data\Packages
OS X: ~/Library/Application Support/Sublime Text 3/Packages
Linux: ~/.config/sublime-text-3/Packages
Many changes have been made to the JavaScript language definition over the past few months, including some after Build 3114 was released, so it will be well worth the time to upgrade.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I'm looking for a plugin for inkscape (or any vector based editor for that matter) to see a window with the code next to the window with the graphical objects for SVGs. Both windows would be dynamic, meaning that if you change something in the graphical view it automatically updates the code, and changing the code would automatically update the graphical object. Also it would be nice if selecting an object would highlight the relevant code.
I have had a look here but didn't see anything like this: http://wiki.inkscape.org/wiki/index.php/Extension_repository
Does anything like this exist or would anyone else be interested in something like this?
What is wrong with the XML editor found in inkscape's Edit menu?
you can just use a text editor like Notepad++ to open the svg file. svg is just a set of instructions on how to draw vector lines, and the file is text-based.
You would save the svg file edited in notepad++, and then refresh/re-open the image in Inkscape to see the changes. I haven't used Inkscape since writing the original answer, but this should work if a plugin is unavailable.
As Inkscape still doesn't support this, and assuming you are hand editing 'svg' files for inclusion on a website you might be better off using a service like CodePen.
While it does require internet connectivity it also fulfill's your requirement of seeing the files as they are updated. A tutorial on editing SVG by hand can be found here.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Having read lots of great advice from here and across the www, I'm happily trying to set up my first Vim environment under Linux (for C++). I've added the C.Vim plugin and also successfully added Clang_complete - which both seem to work. However, I'm using the arrow keys and to choose between 'Clang-completions' - this seems to go against the Vim grain (of never touching the arrow keys) - am I doing something wrong?
Just trying to get off on the right track - Thanks
If I remember correctly, clang-complete's suggestions are pushed in the default vim completion list, which you can open using ^p or ^n and navigate through the same way.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 months ago.
The community reviewed whether to reopen this question 6 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Is there a ready-to-use program, that I can run from my web application, to convert an HTML file to an image? Preferably using Webkit, or another mature browser engine?
I tried wkhtmltoimage, but it doesn't render backgrounds correctly (while wkhtmltopd works fine). Is there one that works?
Method A
Using phantomjs
$ phantom rasterize.js http://www.google.com google.png
Download and unzip the binary archive. rasterize.js is in the example directory.
Method B
Using chrome (Tested on MacOSX, should work on other platforms)
$ alias chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'
$ chrome --headless --disable-gpu --screenshot=google.png http://www.google.com
Method C
Using webkit2png (macOS only)
simply use firefox
firefox --headless --screenshot google.com
or visit here
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I just found a plugin named code completion:
https://github.com/nagaozen/gedit-plugin-codecompletion
So after I got that and I started to installed it to gedit.
After trying to add those 1 file and 1 folder to:
~/.local/share/gedit/plugins
~/.gnome2/gedit/plugins
/usr/lib/gedit/plugins
I still couldn't see any new plugin showed up in the gedit plugins list!!!
So frustrated about it.
I know this is not a programming question, but can anyone please help me with this?
Many many thanks.
This plugin was written for gedit 2, while you are probably using gedit 3 since for example Ubuntu switched to v3 with Ubuntu 11.10. This is easy to check in gedit->help->about.
Another probable problem is lack of jsonprovider. This is easily checked by running a python file containing:
import jsonprovider
print "jsonprovider was installed"