Skip to content

Use same file layout as Atelier #7

@mvhenderson

Description

@mvhenderson

This extension exports files using a file type prefix directory (e.g. CLS). Atelier only includes this prefix for CSP files. While this works when adding a project to the Atelier workspace, if you create a new file in Atelier it doesn't use the prefix.

Reproduce:

  • setup a VSCode workspace with a class, for example:
      1 example
      2 ├── src
      3 │   └── CLS
      4 │       └── User
      5 │           └── Test1.cls
  • In Atelier, create a workspace pointing to the example directory, then add a project for the src directory
  • Everything should work fine with User.Test1.cls - Atelier imports the code, changes are reflected both on the server and in VSCode
  • In Atelier, create a new class User.Test2.cls
  • Notice the class is saved to example/src/User/Test2.cls
  • Again this works fine - User.Test2.cls changes are reflected in Atelier and the server however the filesystem paths are off.

Observed Behavior:
Atelier by default creates classes to <workspace>/src/<package>/<name>.cls
VSCode by default creates classes to <workspace>/src/CLS/<package>/<name>.cls

Desired Behavior:
Atelier and VSCode use the same paths when creating classes, routines, includes and CSP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions