Is it possible to open one file in two different views in IntelliJ IDEA? - intellij-idea

I’m working on a JetBrains plugin. I know that you can open one file in two editors. But is it possible to open one file in two different views where one view is a normal editor and the other view is a customised viewer (the plugin I am creating)?

Related

Is possible to change JetBrains IDE editor background color by scope/folder

Problem:
I'm working on a modular project where different folders represents different components of the application. I want to identify where I'am easily.
My idea:
I created two scopes for the components folders, and I set different colours to them:
Question:
It would be nice to be able to change the background color of the text editor too and not only the tabs, and project explorer.
Is it possible to do it with any plugin or script?
Is there any other way to identify in which module I'm?

Intellij Idea: how to open files in specific tabs? [duplicate]

When I switch between files (Using ctrl-n for examples) in different editors, intellij always opens the file in the original editor the tab for the file is located. Coming from a vim background this seems counter intuitive for me. Is there a way to force intellij to always open the file in the same editor window?
Please vote for the following related issues:
IDEA-67559 Opening a file when there are multiple file groups may re-open in a different group rather than opening in the current group
IDEA-81628 Navigation within same file mistakenly leaves split editor
When using Ctrl-Shift-N to open the desired file, Shift-Enter to confirm will maintain the focused tab group.

File-based, not Folder-based, Projects in Atom?

I'm trying to switch to Atom as my programming editor so that I can gain handy features like linting for Perl, JavaScript, etc. However, over the last two decades, I've used a string of editors (UltraEdit, jEdit, BBEdit) that allowed me to add individual files from different folders into projects. My main coding project actually spans several remote SFTP servers and the "folders" in my BBEdit project do not necessarily correspond to any file structure on disk.
I cannot seem to figure out how to set up a project in this manner in Atom (or similar editors such as Brackets). Is there a way to configure Atom and its extensions to produce a result similar to an UltraEdit/jEdit/BBEdit/Komodo project? I thought about creating a new project directory and symlinking to the real files, but that seems like a hack at best.
I belive its File > Open Project or something like that. I personally like Sublime Text 3 but Atom and Sublime are the same.
The best solution I have found so far would be to install opened-files package. By default it persists all files you have opened (even after you close them) until you close atom editor. I don't think it would work well for bigger projects as it lists all the files under one tab in tree view.
If you want to persist open files you might want to use project-manager package. To keep files listed under 'Opened files' tab after you close them (and atom), you need to press bookmark icon next to tab name. Once you add the project it auto-saves file structure when you close atom. To add project to project-manager write project-manager save in command palette. To list all projects from project manager press shift-alt-P.

Is it possible to configure OpenERP or my browser to open PDFs automatically?

Every OpenERP web report ask me if I want to keep the PDF. Of course I must keep it to view it. I end up with lots of PDF files that I have to clean up. I would like to configure OpenERP or my browser to automatically create and manage the temp PDF files.
My research shows me great confusion in the industry about security flaws in PDF files causing browser plugins that profess to being "PDF Viewers" to come and go. I have yet to find any method, procedure, plugin, add-on or magic incantation that views PDFs without me managing the file.
If you are using firefox and linux , why not open firefox & go to
Edit -> preferences -> applications ->
search for 'pdf' and in Action field select 'use(default)'.
This way the pdf will be stored in '/tmp' folder & opened from there.
You won't have to bother about managing it.
It is not possible in a clean way, you need a module that modifies the behaviour of openerp reports to be inline. There are two options:
https://github.com/buke/openerp-web-pdf-preview-print - I think this
is the best option as it works all the time, the caveat is it
launches a separated window like a popup (then you require to accept
popups).
https://www.openerp.com/apps/web_pdf_viewer - This is amazing as it
shows the pdf in the work area of openerp (no need to open a new tab
or a new window) but at the moment doesn't work at all times,some
reports are just downloaded instead of displayed (I dunno why).
BR
Andres Calle
www.trescloud.com

Code editor with multiple categories of opened tabbed files?

Hi can anyone recommend a good, and ideally free editor that will allow me to group opened files based on a module or component I'm working on?
I'm learning joomla so I need one with php,JavaScript,HTML.
I'm currently using dreamweaver. It's great but I hate having to traverse through the file tabs which are usually hidden because I have so many files opened at once. I would ideally want something that will allow me to group these opened files almost like a folder structure where I can create a category for grouping the opened files together so as keep things that are related to one another close by.
Failing this please recommend what is the best approach when dealing with lots and lots of opened files.
I like how browser works because it allows me to open multiple instances and let me group the sites I want via tabs to each browser instance. Dreamweaver won't allow more than one instance. Is there anything out there that can do this?
UltraEdit gives tab a different color depending on the filetype - CSS are green, Javascript are orange, etc. I find this very useful. It also allows the tabs to spill over to several rows, instead of forcing them to one line like Dreamweaver.
If you do have to use Dreamweaver, you can use the file directory panel to traverse the folders on your hard disk. Double-click on a file in a subdirectory to open it, or switch to its tab if it is already open. The file directory panel is on the top-right by default, I think.