Sublime Forum

Rename Folder within Folder within Project

#1

Hello Forum!

I’ve been using Sublime for some non standard work (mainframe). As part of this work I have filters setup using * as a wild card such as HLQ.LLQ.* Sadly Windows won’t allow me to use * in my file path so instead I’ve been using …A and then using the Projects, folders, name feature to display the …A as a * and so far this has worked well.

Now I’ve started to group my filters together into other folders (hosts) but I noticed that any folder listed in the folders section of my project settings shows up at the top level of my sidebar. I would prefer to have it remain in its existing place just with the display name changed. Is this at all possible? Is there a way to change the display name of a folder within a folder in your project?

I tried working with the relative vs fully qualified path portion of the .sublime-project file but I can’t seem to get the functionality I’d like.

Goal:

  • Host 1
  • userid.stuff.*
  • otherid.things.*
  • Host 2
  • userid.stuff.*
  • otherid.things.*

Current:

  • Host 1
  • userid.stuff…A
  • otherid.things…A
  • Host 2
  • userid.stuff…A
  • otherid.things…A
  • userid.stuff.*
  • otherid.things.*
  • userid.stuff.*
  • otherid.things.*

Any help/info would be greatly appreciated!
Thanks,
Foknetics

0 Likes

#2

I do not get it well. May you post some screenshots?

0 Likes

#3

Sorry hopefully this screenshot will help. As you can see userid…A shows up under the host but userid.* shows up at the top level of the sidebar. I’d prefer to just have userid…A to be displayed as userid.* but show up in its correct position within the filesystem.

0 Likes

#4

So,

You want to the 1 not be displayed, just the 2?
Do not defined it again on the project settings file.

  1. Why display things as *?
  2. Why you defined a subfolder from another folder already on the project folder?
0 Likes

#5

Mostly correct, I want the 1 to not be displayed but I want the 2 to display as user.* like how the 1 displays.

As for your questions:

  1. The * represents a wildcard on the system the files are originally coming from so users of that platform are aquainted to it and know it means all things after that so userid.* might return userid.a userid.b userid.c or userid.abc or userid.abc.a
  2. This was just my attempt to have the userid…A display as userid.* . I realize ultimately I will have to change something and that is why I came to the forum.
0 Likes

#6

But I still do not get what do you win, whether it is displayed as …A or *, it is just how they looks.

  1. Why their look is important?
  2. You want to a new feature to change how the folders will look on the side bar?
  3. Or it is just not the look? You want to have a wildcard to add folders to the side bar?

This looks like a new feature request. Open it on: https://github.com/SublimeTextIssues/Core

0 Likes

#7

This was mostly to improve the user experience for people who would be using the plugin I was working on. It doesn’t sound like currently it is feasible and given that it is very much outside the general sublime users workflow I will try and think of an alternative approach. Thanks for the responses.

0 Likes