Working with GitHub in IntelliJ and Visual Studio

18 views
Skip to first unread message

Erdna

unread,
Nov 11, 2025, 6:09:25 AMNov 11
to Illuminated Cloud Q&A
Hello, 
what is the best practice for working with GitHub in IntelliJ when a colleague is using Visual Studio?
The first thing you notice is that IntelliJ shows the src folder, while Visual Studio using force-app/main/default.  
I guess there are more differences than just the folder structure, for example in how objects and fields are organized.  

Scott

unread,
Nov 11, 2025, 12:59:47 PMNov 11
to Illuminated Cloud Q&A, Erdna

Hi. That sounds like the difference between a metadata format project (src) and a source format project (force-app/main/default).

How are you creating the project? I’m assuming you’re creating it from version control? If so, IC should recognize it as being a source format project based on the presence of sfdx-project.json in the project root, and you’ll be required to use a CLI-managed connection with the project.

Regards,
Scott Wells

Andre A

unread,
Nov 12, 2025, 2:39:51 AMNov 12
to Illuminated Cloud Q&A, Scott
Mostly, projects are created via “New Project” in IntelliJ. I have one project with a CLI-managed connection — but this project use the same “src” path.

Scott

unread,
Nov 12, 2025, 11:11:45 AMNov 12
to Illuminated Cloud Q&A, andre....@googlemail.com, Scott
Hi. My guess, then, is that you're creating the project as metadata format instead of source format. Please see the user guide topics on project creation, specifically those on Creating Salesforce DX Projects from Scratch and Creating Projects from Files in Version Control.

Please let me know if that doesn't help.

Regards,
Scott Wells
Reply all
Reply to author
Forward
0 new messages