I have these two folders in a BBEdit project. When I drag one of the files into the folder, the file is not added to the folder? How do I add a file to the folder in a project?
Just drag the file to the folder in the Finder, it will be updated in the project. Here is what you do according to the BBEdit manual:
To add files or folders to a project, drag them from the Finder into
the project window, or click the Add button. When you click Add,
BBEdit presents the Open dialog in which you can choose one or more
files and folders to add. The files and folders you select will be
added directly to the project’s file list, and you can drag them to
reorganize their positions. You can also add a file by dragging its
icon from a text window’s navigation bar or sidebar to the group
window, or by dragging a file entry from any disk browser or results
browser.
Related
The File menu in JupyterLab has few options for saving and opening files. The menu items do let one browse the file system and search for a directory. For example, the File->Open from Path... menu item only allows entering a file on a path relative to /jlab/root. Questions:
What is the location of /jlab/root. Is there a command that shows it?
I like to keep files with code in a subfolder of my Dropbox folder. What do I do if my Dropbox folder is not a subfolder of /jlab/root?
I can not seem to figure this out.
I have marked some directories outside of my src folder as "resources" in the module settings of the project structure.
When I build the artifact those directories are not included or the files within them.
My directory structure is:
/myApp
-src/com/org/myapp
-theme //this is an image folder
-profilepics //this is an image folder
-genimages //this is an image folder
I have tried marking the directories as source folders as well as marking the myApp directory as source.
Had this same issue, here's how I fixed it:
Open up the project inside IntelliJ, click on Build -> Build Artifacts..
Select your artifact, and then on the 'Actions' submenu, click 'Edit'
In 'Output layout', click on '+', add then pick 'Directory content'
Select your images folder, click 'OK', and then save the changes
Also, check how the images are used in the .fxml files (if they are shown to be inside a folder, you may need to put the images inside a folder too -> after selecting the images folder in the artifact menu, right-click and select 'Surround with' and then pick 'directory'.
I'm using Titanium Alloy 3.0.2 GA (on a Mac) to build a cross-platform mobile app
Why doesn't the Resources folder show up in the Titanium Studio, even though it is present in the filesystem?
I want to store some images that will be displayed within the application, and I believe that I should store them somewhere inside the Resources folder.
When I look at the Project Explorer within the Studio, I don't see a /Resources folder.
When I tried to add a Resources folder to the root, I was told that there is already a Resources folder!
Finder confirms that there is a Resources folder.
So, how do I get the Resources folder to show up in the Studio Project Explorer?
Also- it does not show up in the App Explorer View either.
Yeah I had a problem with this as well, but thankfully this is documented in the guides section. Heres the pertinent information:
If your Resources folder is hidden, in the App Explorer view, click the View Menu button (right triangle pointing down) and select Customize Views..., then the Available Customizations dialog appears. In the Filters tab, uncheck the Titanium Resources Folder checkbox, then click the OK button. The Resources folder should appear in the App Explorer view.
For me It was actually in the "Project Explorer" view that I found the downward white arrow, and in the Available Customizations dialog I had to scroll all the way to the bottom of the Filters tab and uncheck "Titanium Resources Folder."
Hmm...
Yes I was able to view the Resources folder by going into the "Customize View" option in the Studio.
But the proper place to put local files (car images in my case) is under the \app\assets\ folder. The \assets* are copied to the \Resources folder as part of the build.
So I just put my .jpg files under a new \car_images folder (under \app\assets) and was able to access them in my code
var image = Ti.UI.createImageView({
image: '/car_images/Acura.jpg'
})
So actually there is no need to see/modify the \Resources folder as it is managed by the build process
Thanks
I have created a folder inside my project and i put an icon on it, now i want to use it as my program icon how will i get the link of my icon inside misc folder?
Double-click "My Project".
Open the "Application" tab.
Change "Icon" to "<Browse...>"
Navigate to your icon and select it. Press "Open".
The actual path will be "..\..\Misc\app.ico". But that will not be available when you deploy your application. Your best bet is add it under your project settings so that it will be added as a resource in your application. If you want to do it manualy you will need to make sure the app.ico file is in your application directory and your path adjusted accordingly "app.ico" or if you have an images directory ".\Images\app.ico"
Actually I want add some folders and files to MSI. Through custom action i want to copy that added folders and files to some destination/target folder.
Any Help please???
Surely you can add Folders as well as Files to MSI but its not using custom action Follow the steps to add Your Folders or Files.
Right Click the Project(Setup) in Solution Explorer.
Click View > Click FileSystem.
New interface will be opened.
Right Click on File System on Target Meachine > Click Add Special Folder.
You can choose any one of the folder that are listed or go for Custom Folder.
Right Click on the Custom Folder you created > Click Add > Click Folder.
Right Click on the newly created Folder > click Properties.
Set DefaultLocation Property to ("Destination") ie c:.
Right Click on the newly created Folder > Click Add > Click File.
Browse the file you wants to get added .
Build the solution.
Your are done.