creating a file inside containing folder with the same name

Open
#149 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

No file or test is named. Start by reviewing how the plugin handles the new-file prompt and the default-extension setting, then determine whether the requested path behavior can be supported. Done means creating a Processing file produces the requested [Name]/[Name].pde folder structure.

Written by the indexing model from the issue text.

Description

Hi,
I'm using SublimeText with processing,

and am trying to use this tool to follow the folder structure required by Processing,
namely [Name]/[Name].pde

I managed to get the .pde to append to the file name by changing the default-extension setting, but I was wondering if there is any way to modify the code or a setting to achieve one of these situations:

  1. modification while entering file name, so it would look like
    "Enter path for a new file: [string]/[string].pde"
    with the string changing in real time as it is typed

or

2:"Enter path for a new file: [string].pde"
with a folder named [string] is made in the background to contain the pde file in it.

I will be working with one root folder, and expect to have a folder for ever pde file that I create.

Cheers
Bharat

Dominant language
Python
Stars
832
Forks
96
Avg merge
1m
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SublimeText/AdvancedNewFile

All issues in SublimeText/AdvancedNewFile

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.