Intellij IDEA opening File Type with External Tool - intellij-idea

I have Intellij IDEA 2016.2, and was trying to open a SVG with Inkscape from IDE, with a double-click.
I was only able to configure Inkscape as External Tool, and SVG as its own file type, since its handled as XML.
Is this possible?

Register new file type. It's described in manual: https://www.jetbrains.com/help/idea/2016.1/opening-and-reopening-files-in-the-editor.html

Related

Unable to open .class files with JGrasp

I can't open them without receiving an error message.
This is in JGrasp
.class files for Java
Thanks very much
jGRASP doesn't have a class file viewer or decompiler. You can open one in binary mode, but viewing raw class file contents probably won't be of any use to you.
What exactly are you after, decompilation or a structural view of the class file?

Understanding PDFBox jar files

I am attempting to install PDFBox on my system in order to create PDF files, but am unsure which jar files I need. If I go to https://pdfbox.apache.org/download.cgi
I see command line tools as follows:
pdfbox-app (9.1MB)
preflight-app (9.2MB)
debugger-app (9.0MB)
I also see "Libraries of each subproject" as follows:
pdfbox (2.6MB)
fontbox (1.6MB)
preflight (248KB)
xmpbox (132KB)
pdfbox-tools (77KB)
pdfbox-debugger (245KB)
What is meant by "each subproject"? Is it talking about the command line tools or something different?
I am planning to use java from the command line rather than in an IDE. Does this mean that I just need the Command line tools or do I need the "Libraries of each Subproject" as well? What does the "-app" indicated in the command line tools vs the related libraries?
Is there a page on apache.org that mentions the differences between all of these?
To create PDF files should I be using the preflight and debugger files as well or are those optional?
Summarizing the comments: you want to create a PDF from scratch and access your development over ssh so you can't use an IDE and have to use javac. For that you could use pdfbox-app jar file, but this would be huge. Instead, use the pdfbox, fontbox and commons-log jar files. See also here for additional dependencies if you want to do more advanced stuff (read / render (= convert to image) / decrypt / sign).

Make *.apib files load into IntelliJ Markdown plug-in

How can I tell IntelliJ (or its Markdown or Multimarkdown plug-in) that files named *.apib are Markdown, and should be handled the same way as files named *.md?
I found the Preferences for the plugins (Preferences: Other Settings: Markdown/MultiMarkdown), but these only control what it means to "be handled the same way," not how to get there in the first place.
I also found Preferences: Plugins, but it only seems to handle installing the plugins, not configuring them.
Open Preferences and choose Editor. Select File Types and select Markdown Language, then add *.apib to the list of patterns.

pdf embedded in emacs?

I would like to ask if anybody knows of a possibility to render pdf file inside emacs. I noticed with w3m browsing a web page with a link to pdf it actually open with doc view it in another buffer (as you can see). How can I do it with other packages ?
As long as you have Ghostscript installed, you can view PDF files in Emacs just by opening them as any other file, with C-x C-f. doc-view-mode should start automatically, but if it doesn't, you can do it manually with M-x doc-view-mode. More information is available in the manual.
You may try pdf-tools for emacs.
pdf-tools
Just install it using M-x package-install-file RET pdf-tools

How to add new programming language to jEdit?

I've recently been learning the Processing programming language. Processing includes an IDE called the Processing Development Environment (PDE), but the editor is quite basic.
The IDE has an option to use an external editor. One of my preferred editors is jEdit due to it's cross-platform support. Jedit has built-in support for over 170 languages, but not processing which I guess is still a little bit too niche at the moment.
How do I add Processing with all the color highlights to jEdit?
The whole process for adding processing has been detailed here: http://wiki.processing.org/w/JEdit_as_External_IDE.
Basically, jEdit is using XML files to define syntax coloring rules (incl. simple checking) for its various editing modes. Each syntax definition file has a file extension mapping to tell jEdit which language mode to use for individual files. For Processing files we will use the standard .pde extension.
There are two things you need to do: (Before installing any of the files below, please make sure jEdit is not running.)
Syntax Highlighting
Download File:Processing.xml into the "modes" folder inside your jEdit installation.
On Linux/MAC this is usually /usr/share/jedit/modes
On Windows this is C:\Program Files\jEdit\modes
Then copy and paste the following XML node into the file "catalog" inside the same folder and syntax coloring/checking for PDE files should be ready: <MODE NAME="processing" FILE="Processing.xml" FILE_NAME_GLOB="*.pde" />
Abbreviations
Download Media:abbrevs_v0.1.zip and extract it into the right folder for your system:
Windows
C:\Documents and Settings\{USERNAME}\.jedit
Mac
/Users/{USERNAME}/.jedit
Note: This folder is not visible in the Finder. Unzip the file in your home folder, open a terminal window and type: mv ~/abbrevs ~/.jedit/abbrevs</source>
Linux
Find the location of the jEdit settings directory via the menu: Utilities > Troubleshooting > Activity log, then extract/copy the file in that folder.
For all systems, you'll need to restart jEdit in order for the abbreviations to come in effect.