sublime-text 2 ftpsync ignore not working - sublimetext2

In my yii project on windows 7 I have the following structure:
/project
.. /yii
.... /framework
.... /protected
.... ftpsync.settings
in ftpsync.settings I want to ignore the framework folder as the following:
"ignore": "\\\\framework\\\\"
then in sidebar when I right click on yii folder > FTPSync > Upload, then it should ignore the framework folder which is not happening
so any ideas please?

"ignore": "\\\\framework\\\\" is working but I was confused when I see the number of all files in the status bar

Related

How to get windows username in angular 8

I want to get my Windows username in my angular 8 application's typeScript, is this possible? I found something like this:
let user = new ActiveXObject("WSCRIPT.Network");
console.log(user.UserName.toLowerCase());
When I tried the code, I got 'error TS2340: Can not find the name ActiveXObject'
Is there a way of getting Windows or System username in angular application, if yes, how can one go about the coding?
Try opening the tsconfig.json file and adding the "scripthost" as an element of the "lib" section:
"lib": [
"es2018",
...
"scripthost"
]
That should make sure the correct library for ActiveXObject is loaded.
I found a couple of references to this a possible fix online. Here is one article

Generated index.html in Sandcastle only includes first project

I'm using Sandcastle Help File Builder to document the projects in a C# solution. I have it generating HTML Help 1 as well as Website
The HTML Help 1 file generated (.chm) is fine, so I know the basic documentation build process is working, and I can see all my classes. The website is mostly fine, but it has one serious problem: The index.html only references one project (the first project, alphabetically). You can access any of the documentation for the other projects in the solution from the index.html file.
Anyone know how to fix the index.html file?
I solved this by checking "Enable namespace grouping if supported" option in the Help File section of Project Properties.
I know this is old. but i bump into this problem too.. I cant use "enable namespace goruping if supported" since its throwing an error..
I also notice that the heirarchy of the html files are
Help fileName
namespace 1
namespace is not under the help file name..
so i played with the tool and found out that when enabling on
"Include root namespace container" (dont enable "Enable namespace grouping if supported")
Right now it will give you a heirarchy of
Help file name
Title Name
namespace 1
namespace 2
namespace 1 and 2 is under tile name its under help file name

Intellij dosen't show "bin" folder in ActionScript project

I got an issue with Intellij 11. It doesn't show the "bin" folder (ActionScript 3 project) in my project view on the left.
Under "Project Settings->Modules", "bin" is an "Excluded" folder, but there is no option to change this.
Thanks!
You should be able to click on the Excluded button in the Project Structure - Modules tree explorer.
EDIT:
I see, the problem is perhaps that IntelliJ excludes by default the compiler output folder. Try changing the output folder in the Project Structure - Project - Complier Output text box.
I suspect you won't be able to change this behaviour though.

How to create HTML 5 project in Aptana Studio?

I installed Aptana Studio 3 on my windows machine.
I created new WEB Project but when I expand my Proj folder I can see only "Connection" tab. Nothing else. What is the prob? what should I do to get all the files?
Forgive me if the following is what you already did but I was not certain what steps you took from your question/post ... I'm going through the standard steps for creating an HTML 5 Web Project with the Boilerplate templates:
Open Aptana ( duh :) )
File -> New -> Web Project
Provide a Project Name and select your directory if you don't want the default used
Press Next
Select the checkbox for 'Create the project using one of the templates'
Select the HTML5 Boilerplate (use the cached one - I can never get the other, networked one to work)
Select Finish
You should now see the new project and all its default files in your App Explorer view in Aptana.
If you followed those steps but it still fails, I would file a bug (or, at the least, check the existing issues with Aptana) at:
http://jira.appcelerator.org/browse/APSTUD (bugs)

Adding an external jar library to Intellij IDEA

I'm having a silly problem : I'm trying to add the Jsoup library (which is just an external jar) to my android application developed in Intellij Idea and it seems and don't do it right .
I put the library in the libs folder , then I went in Project Structure -> modules and selected dependencies , select add global library , select attach source and click ok.
When I write code it is able to automatically import classes and to compile , but when running I get " java.lang.NoClassDefFoundError: org.jsoup.Jsoup"
Copy the .jar file into your lib/ directory.
Right click the new .jar in the lefthand file browser in IntelliJ / Android Studio
Choose "Add as Library..."
Voila!
-Open the External Libraries node on the Left hand panel.
-Select Open Library Settings
-Project structure dialogue opens up.
Select the Libraries.
Click the "+" to browse the file.
![add external jar1
In IntelliJ IDEA 15 you can also access the Project Structure menu item from "File" item in the menu bar. Select Libraries from the list on the left. Click the "+" to browse the file, select it and you're done. It will be added to the "External Libraries" directory in your project.
Have a look at the newer artifacts section. Perhaps you don't add the JAR into your deployment properly.
UPDATE:
I'd like to update my answer based on lessons learned over the past six years since I first answered this question.
The best way to manage 3rd party JAR dependencies in Java projects is to learn Maven (my preference) or Gradle. IntelliJ has terrific integration with both.
If you combine those with an enterprise repository like Nexus you'll have no problems. Your dependencies and versions will be completely specified. Conflicts will be identified for you. Updates will be relatively simple.