Aptana 3 remove bundle (jquery) - javascript

I added jQuery bundle in Aptana 3 (Commands -> Bundle development -> Install bundle), but now I want to remove this feature.
From Bundle development menu I don't see any "remove bundle" or similar command, how can I do?

You should be able to remove this from your system fairly easily. To verify where your jQuery bundle was installed
Open Aptana
Go to Window -> Show View -> Other
In the section "Studio", there should be a view called "Bundles"
Select Bundles to open that view
Expand the bundle in question (most likely Javascript jQuery)
The first entry will show you where it's installed
Note the location and shut down Aptana
Go to that location and delete the bundle (or move it out of that directory)
Restart Aptana
That should remove the jQuery bundle from Aptana Studio 3. I just tried it on my local machine and it worked.

Related

Eclipse for PHP Developers 2020-06 - Is There Any Way to Show Javascript Task in Tasks View?

I'm using Eclipse IDE for PHP Developers Version 2020-06 (Includes Incubating Components) (4.16.0) on Windows 10 Home, 64-bit, installed using the Windows 64-bit installation file from https://www.eclipse.org/downloads/packages/installer.
Is there any way to have task tags (like TODO) in .js files show up in the Tasks view? In this version of Eclipse the task filter doesn't even list "JavaScript" as an option and there are no JavaScript settings in Preferences. Task tags work in .html, .css, and .php files but not in .js files.
UPDATE: I've switched to version 2020-12 (4.18.0) and JavaScript task tags are working by default in this version.
This worked for me (in Eclipse version 2020-09 (4.17.0)):
Go to Window->Preferences.
Go to Web->JavaScript
"Task Tags in JavaScript can be configured here" <- click this link
Check the "Enable searching for Task Tags" checkbox
Click Apply and Close

Can not run index.html in oracle Jet application using templates

I am new to Oracle Jet. Now I want to use NetBeans to create a simple application with pre-defined templates downloaded from http://www.oracle.com/technetwork/developer-tools/jet/downloads/index.html.
The creation steps are:
file - new project - Categories (HTML5/JavaScript) and Projects (HTML5/JS Application) -select the template - Jet-Template Web Basic.zip.
But when I open index.html under Site Root in this application, the "Run" tab is not available. Also there is no "run" when right click on index.html.
I tried all other templates in the download page but none of them can work.
Do you have an idea on this?
IDE version: NetBeans 8.1
Not sure why that happens. Might be a bug...
2 work-arounds:
Right-click on the project under the Projects tab. You'll notice the Run function is enabled here.
(Better option) Extract the zip contents, choose 'Open Project' in Netbeans and navigate to the extracted folder. You'll notice that the Run function is available for index.html if you open the project this way.

How to disable the default bundling in angular CLI with Angular 4

I am new to webpack and angular-cli. My problem is that when I create an Angular 4 project using angular-cli, everything works fine with ng-serve but everything get bundled by default. Web pack bundling info:
I am not able to see the component.ts files in browser to debug. Is there any way to disable the bundling? angular-cli version details:
When you do ng serve with the CLI, it will create sourcemap files by default. That means, that although the source files are bundled together, you can view the original source files in the debugger and step through them.
You find them in the DevTools under the tab Sources, the folder webpack://
If you want to view your prod build like this, you can add the flag -sm for sourcemaps. In the prod build, there won't be sourcemaps by default.
ng serve --prod -sm
Yes also you can enable and disable this from the developer tool option
Go to setting (press F12 then F1 ). Under the source you can enable and disable to source mapping. In deploy time you not going to put the map file so this will not get downloaded.
Developer tool settings
Use following build command to hide your source code under Sources Tab
ng build --no-sourcemap ( Development environment )
ng build --env=prod --no-sourcemap (Production environment)

How to install JSLint plugin on Notepad++?

I downloaded JSLintNPP.0.8.3 from https://sourceforge.net/projects/jslintnpp/
,now what I see is a .dll file and am not sure about how to install the plugin on my Notepad++.
If you want to do an offline manual install without the Plugin manager.
Just locate the plugins dir within your NotePad++ installation and copy the dll there.
Open up notepad ++, go to plugins, locate plugin manager then show plugin manager.
A window will pop up, on the available tab type J and you should see JSLint, tick it and then press install.

Eclipse does not support web projects or web file types after installing WTP. Am I installing it incorrectly?

I currently have the latest version of Eclipse (Juno) and I have installed ADT with no problem. I have moved on to a web based project and I require support for JavaScript and HTML etc. I installed WTP through the update manager and you can see that all of the required packages appear to be installed:
However, within Eclipse there is very little evidence that anything has been installed. I have read in this jsdt tutorial that I should be able to create web projects such as "Static Web Project" and have text editting support for HTML and JavaScript. However, I see no web project options, HTML or JavaScript file options, no perspective options for HTML or JavaScript, and no support for editing html/javascript files.
Here you can see an html file I attempted to create. Notice the lack of syntax colouring:
Here you can also see all the project creation options that are available to me:
So how should I have installed WTP? Should I not have installed it thought Eclipse's software manager? I would like to do this without having to re-install Eclipse if possible.
This problem seems to exclusively occur in Windows 7. I managed to successfully install the desired software by right clicking on the Eclipse icon, selecting "Run As Administrator" and then re-installing all packages. I did not have to do this in Windows Vista.
If you are experiencing this problem and you are using Windows then follow these steps.
Right click on the Eclipse icon and select Run As Administrator.
Once you have opened your Workspace go to Help -> Install New Software.
Any installed packages that you installed when you did not Run As Administrator should now not appear to be installed. So install them again.
Restart eclipse (normally if you wish) and your desired packages should be installed correctly.

Categories

Resources