How can i add custom folder when i create flutter project - flutter

For example
"Create assets folder with 4 base folders automatically when I create the project"

Do right click on parent project directory and you will get create new directory enter the directory name and your folder or directory created succesfully. You can create directory as required

What IDE are you using? You could create a folder somewhere like this
temp-folder/assets/
temp-folder/base1/
temp-folder/base2/
temp-folder/base3/
temp-folder/base4/
Then just copy paste the above five folders into your project folder.

Related

Project Explorer - Project name different from actual folder name

I have a folder "JDataCollectionDemo" and I change some variables example int temp from 40 to 50, and now I want to rename this folder as "JDataCollectionDemo50". When I open JDataCollectionDemo50 as a projectfrom File Systems, it will always shows up as "JDataCollectionDemo" under the project explorer.
How can I open it as a "JDataCollectionDemo50" folder under the project explorer? I might "JDataCollectionDemo100" but I always get one "JDataCollectionDemo" folder instead.
The name you see in eclipse isn't the folder name. It is the name which is stored in the .project file (which depending on how you import the project may be the folder name initially).
You can either
remove the project from eclipse rename the folder and the name in the .project file and then re-import the folder
or, easier
select the project in eclipse and press F2 to rename it

Eclipse - How to select source folder for new file?

I just downloaded Eclipse Juno release a couple of days ago. I started a new PHP project. When I create a new file, it makes me select the root folder of the project as the source... Is there any way that I could select sub-directories within the project's root folder as the file's source folder?
You have to create a new PHP project if you don't want the files you're creating in that folder. There is no such thing as sub-directories in Eclipse. It creates seperate directories and you just go to wherever you're storing the files and transfer them to your server by going into your htdocs and dragging the folder and placing the folder into the one on your server that you want it to be in. I hope this has helped you.

Create a folder inside the .app file

I need to create a folder for some images, I'm doing it right now using "New Group", inside the Project Navigator of my Xcode Project.
The problem comes when I see the contents of the .app package, and inside it the images are with all the other files (not inside my folder)
How can I create a folder that will be inside of the .app?
1. Create a folder with the images.
2. While adding into the Xcode you drag and drop the folder and choose the option "Create folder references for any added folders".
The folder will be in blue color, not yellow.
Create a folder in you project folder, add image to that folder and then add them to Xcode.

netbeans ftp configuration

I've set up my FTP connection for my project, but when it uploads the file, it adds a directory named after the project to the uploads (which means it isn't going to the right folder).
i.e.
initial directory set to '/httpdocs';
no upload directory specified.
I upload a file from my local folder:
project name/library/script.php
I want it to go here:
FTP/httpdocs/library/script.php
but it's going here:
FTP/httpdocs/PROJECTNAME/library/script.php
Can anyone help me get this configured correctly?
Then you are making your project in netbeans one folder too high. The project should be created with the main folder being the root folder, not the folder that holds the root folder (the one with the name of the folder).
So, you need to recreate your project with the correct folder being the root folder, and you should be all set.

External output folder in eclipse

Is there a way in eclipse to make the project's output folder an external folder, instead of a folder located under the project root?
Yes, you can define it as a linked folder.
This this SO answer for more (or this one)
To create a new linked folder select New->Folder, input bin in the folder name: field then click Advanced>>
Click Link to folder in the file system
Click on Variables... to bring up the Select Path Variable dialog.
If this is your first time, or you are linking to a new location select New... and give the variable a sensible name and path.
More precisely, you define your output directory (say 'bin') as a linked folder, then you set that directory as the official output one of your project.