Developing a firefox extension that utilizes the gBrowser global variable [duplicate] - firefox

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
develop a firefox extension in place (not via encoding to xpi first)?
I was wondering if it's at possible to test and develop a firefox extension that utilizes the gBrowser global variable without having to compile the extension into a .xpi and load it into Firefox. Right now, in order to write code that uses gBrowser, I have to compile all my xul/js files into a .xpi file. Then I have to load this file into firefox, restart, and test. Is there an alternative method which would make debugging easier?

Check out the Dynamic Development chapter of my toolbar tutorial. It explains how to implement a dynamic development environment that will allow you to get around having to package the extension every time (which is a real pain). You may want to peruse the Creating the Framework chapter first, since it lays the foundation for some of the dynamic development setup.

Related

Is it possible to create a standalone Quick Look extension/plug-in?

According to Apple we should new build Thumbnail or Preview Extensions instead of the old Quick Look generators which will be deprecated (probably in Big Sur).
There is also no Option to create a Quick Look plug-in project in Xcode anymore. Instead you need to create an application that contains a quicklook extension target.
My question is: Can I not create a standalone Quick Look extension (or plug-in) anymore to preview files without a useless wrapper app that fulfils no purpose? Has anyone tried or found out if this is still an option?
Thank you.

Using Visual Studio Code for Grails development

IntelliJ IDEA is pretty amazing for Grails development work. It is rather demanding on resources (particularly memory), though, and takes a long while to start up, so occasionally I like to use Visual Studio Code instead for light editing. I'm trying to tune it most effectively for Grails development. Any tips would be most welcome. One thing I'd particularly like to know is if there is some way of setting up a beautifier/formatter for .gsp files.
First of all, you'll have to setup VS Code for java. You can follow this page https://code.visualstudio.com/docs/languages/java
Then, you'll have to install of the groovy language extension. Currently there are three such extensions in the library. code-groovy has more active users than the others and it provides good gsp support. I do use VS code for quick editing or just viewing source code occasionally but its still not the replacement of Intellij. I can't use VS Code for hardcore java/grails development yet.

Firefox 38.0.5 debugger is now pulling Typescript [duplicate]

This question already has an answer here:
Firebug does not display my JavaScript files
(1 answer)
Closed 7 years ago.
I just upgraded to version 38.0.5 of Firefox and now when I look in my debug script window native or firebug it shows the TS not the JS. Also in my production environment it also shows ts where we didn't even publish the ts only the js gets published... any ideas?
Most likely reason: you are using Source Maps.
When you use source maps, the browser is able to show the source code that relates to the transpiled JavaScript code.
You can switch source maps on and off as it is a compiler setting.
tsc --sourceMap app.ts

IDEA 13 community can't debug Haxe

I use the IDEA13 community to work with the Haxe openFL. I had installed the Haxe plugin. I create a haxe project. I can run it with any target, such as Flash,HTML5, mac and so on. But I can't debug it with any target platform. To my surprise, I even not see the red point after I click the IDEA side which would appear a red point when I do the same in a java project.
Then I tried to use debug icon button to debug it. But nothing show me after the compile complete.
Can anybody know whether the IDEA13 support to debug Haxe project? if can, how can I set?
I need help.
I wish everyone goes well.
Unfortunately the community plugin does not provide debugging for all the targets.
Currently only flash and an experimental cpp debugger(tivo fork) are the only implementations provided.
For html5 the plugin requires work to integrate with idea's javascript debugger. You can however use the Haxe generated source maps for break points on Haxe source code within the chrome developer tools.
There is activity for this plugin on github so it may just be a matter of time.

What does it mean when Visual Studio tells me my project doesn't support code? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Errors in Windows Forms controls in designer view
The file 'C:\Users[path removed]\ReportForm.cs' does not support code parsing or generation because it is not contained within a project that supports code.
I've come across this one when I've renamed a form then closed and re-opened VS. The error is thrown and I can't see the designer. The remedy for me was checking to make sure the project form is looking for my newly named form and not the old name, if it is the old name then just delete it and add->existing item.
All should be good from that point.
The solution that helped me was that I was running my VS in compatibility mode and also as an administrator.
In order to make it run smoothly you have to uncheck the "compatibility" and "Run as administrator" options.
I don't believe that the problem is a lack of supporting code. It's more likely that the code in ReportForm.cs or ReportForm.designer.cs is not parsable by the WinForms designer class. You can verify this by deleting all of your code and type in something very simple and reload the designer.
Example:
public class ReportForm(){
public ReportForm(){}
}

Resources