I am trying to shift Dreamweaver to Netbeans 8.1, I want to preview html code but I cannot find any short cut or any icon to preview. Should I install plugin for it? I tried this plugin http://plugins.netbeans.org/plugin/51003/html-preview but donot work for 8.1.
Anyone have Idea about it?
Thanks in advance
There is no "native" support for HTML preview in NetBeans. You can run (open) the file in browser from IDE. How to do it depends on type of project but generally if you right click on the file in NetBeans, there should be something like "Run File"
For Netbeans 8.2
Option 1:
Right-click and choose "View" from the context menu.
Option 2:
Go to Preferences > Keymap, search for "View", assign a key shortcut of your choice to "View" that belongs to "System" category.
"Customizing" the toolbox panel by adding "Web browser" icon to it didn't work for me: instead of displaying my HTML file it opens a Netbeans' front page, bragging how brilliant this IDE is. Very helpful indeed.
Related
I have installed Java 8 JDK and JRE, and when I type javac into cmd, everything seems fine. However, when I download a .jar, for example Optifine, I have no option to open with Java. The icon of the .jar is Internet Explorer. When I double-click on the Optifine .jar, I am brought to a "View and track your downloads" window, where I then get stuck in a "Save" and "Open" loop. What can I do to actually see Java as an option to open with? Sidenote: if anyone does reply, please use simpler coding language, as my knowledge only comes from hours of research on how to fix this problem.
I don't know which version of Windows you are using so I can provide detailed step by step guide. .jar files can be opened with Java and compression/decompression utilities. In general, you can change the default programs in control panel and associate .jar file with a specific program you want.
Note: As an irrelevant point in order to use Optifine.jar for Minecraft modding you do not need to open it.
I copied my grails app to another computer and now .gsp files do not open in the editor. They also show a G icon with an arrow next to them. Dragging and dropping or double clicking do nothing. Updating intellij didn't help either
As Dónal mentioned, Grails is not one of the frameworks supported by IntelliJ IDEA Community Edition (you need the Ultimate Edition). You can view the feature comparison here.
Hi I am probably answering now when u no longer need the answer but I bumped into the same issue yesterday and only solved it now. There are chances that you associated the .gsp file type with a program which cannot be opened by intellij in your case GOSU. To fix it go to: File>Settings>Editor>File Types
In the file types go to Gosu Program Source and *.gsp should be in the registered patterns. Remove it and apply changes then you are good to go.
Re-installing community version fixed and gsp files now open in the editor
I reinstalled intellij 12.1.2 and now my project opens in the explorer, however when I click on my grails file, the file do not open up in the window. I tried to drag and drop but still no luck, anyone know what might be wrong?
When this kind of issue happens you should check idea.log for exceptions.
It's also a good idea to ensure that you are running the latest IDE version.
I'm learning Ruby on Rails, using Aptana 3 on Windows7 as my IDE. I created my first project as part of a tutorial. But now when I try to go back and study the MVC files that were generated they don't appear in the project explorer or app explorer windows like they did when I created my project. Am I doing something wrong? Perhaps I didn't enter the correct path when Apatana prompted me for my workspace name? How can I know what workspace I originally used when I set up the project?
Thank you for helping out a newbie!
What U need to do is
1>go to project explorer (right side of app.explorer),if not available then go to windows menu>show views>Project explorer and locate your application
2>then right click on its name(Main Application's name) and click on Promote to Project (by doing this a popup menu will open)
3>First of all enable the check box Rails, then same for ruby and then uncheck the box for Web- Primary and click on Finish
Now navigate to your App. tab , you can see you application with all of its folder
[P.S. stretch aptana's screen after you click on finish button to menu bar :D as I think I think aptana has that problem by default ]
Hope It helped !!!
I use TeXnicCenter for LaTeX and would like to have the DDE controls working to easily view the pdf versions. Acrobat X seems to have changed the servername and this is breaking things.
I tried "AcroViewR10" or "acroviewR10" and other combination, but still it does not work.
As a work around, using command line argument "%bm.pdf" works, but I manually need to close the pdf everytime before recompiling. So, it takes an extra click or so.
Can anyone give some insight to solve the problem either by fixing DDE or how to close the pdf automatically when it is recompiled?
Actually, the answers from Martyn and Adam Nellis solved this problem. Thanks a lot, folks. I am just putting it step by step, so someone else can use it.
Step1: Adobe ReaderX
In Adobe Reader X, go to Edit>Preferences>General and uncheck "Enable Protected Mode at startup".
Step2: TeXnicCenter
Go to Build->Define Output Profiles-> choose "Latex to PDF" -> Viewer tab
2.1. For "View Project's Output" & "Forward Search"
Command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Server: AcroViewR10 Topic: control
2.2. For "Close Document"
Command: [DocClose("%bm.pdf")]
Server: AcroViewR10 Topic: control
(use this option even if you use Adobe Reader 11)
For those using Acrobat X pro, the server should be AcroviewA10 and the excecutable should be Acrobat.exe
For the newer version of Adobe [DocClose] doesn't work anymore. So you have to make updates. In texnicCenter hit Alt+F7, go to Viewer TAB and follow the example accordingly (works on Win7 with Adobe11):
in Executable path you have to have something like "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"
View Project's Output >>> Choose "command line argument" and enter
"%bm.pdf" in command
Forward Search >>> Choose "command line argument" and enter
"%bm.pdf" in command
And finally *THE MOST IMPORTANT OPTION*
Close Document Before Running (La)Tex >>> Choose "DDE" and enter
"[AppExit]" in command
"AcroViewR11" in Server
"control" in Topic
I realise this question is a little old, but I have just been struggling with this problem (not used TeXnicCenter for a wile, so hadn't noticed the problems when upgrading Adobe) and this thread is the only one that solved the problem for me. I had to use a combination of the above answers, though, so I thought I would document what worked for me.
I am using Windows Vista Business edition, TeXnicCenter 1.0, and Adobe Reader 10.0
Go to Build->Define Output Profiles-> choose "Latex => PDF"
1) In the viewer tab, change the executable location to point to
C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe
2) View project's output: Select DDE command and enter
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Server: arcroviewR10 Topic: Control
3) Forward search: Select DDE command and enter
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Server: arcroviewR10 Topic: Control
4) Close document before running (La)TeX: Select DDE command and enter
[AppExit]
Server: arcroviewR10 Topic: Control
In particular, it was point 4 that I needed to do, and despite searching a while, this is the only place I have found advice to switch the DDE command to [AppExit] and it worked a treat. Thanks Claudia!
I have not needed to change the Adobe Reader settings at all (i.e. it is still in Protected Mode at Startup).
My settings are:
Path of Executable: C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe
For "View Project's Output" & "Forward Search"
Command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Server: AcroViewR10
Topic: control
For "Close document"
Command: [DocClose("%bm.pdf")]
Server: AcroViewR10
Topic: control
That works for me except for two things:
When Acrobat Reader is closed and I press F5 it will open Acrobat Reader but will not open the document and will bring up an error message. If I close the error message and press F5 a second time (with Acrobat Reader now open) then it will open the document.
When I press F5, and the document opens, Acrobat Reader does not become the top window (the focus stays with TexnicCenter).
So not major problems but just small annoyances.
Edit:
Not sure if it makes a difference but in the windows registry the keys:
HKEY_CLASSES_ROOT\acrobat\shell\open\ddeexec\application
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\acrobat\shell\open\ddeexec\application
Both have values set to "AcroviewR10" (no quotes).
I use Acrobat Pro XI and have the following settings:
Path of Executable:
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe (for 32bit version) and
C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe (for 64bit version)
View Project's Output & Forward Search
"command line argument" and "%bm.pdf"
Close document
"DDE" and enter "[AppExit]" in command "AcroviewA11" in Server "Control" in Topic