slynch8 / 10x

10x IDE/Editor
184 stars 33 forks source link

[Feature Request] Have 10x executable be able to find project without specifying .10x extension #2707

Closed lucrool closed 2 weeks ago

lucrool commented 1 month ago

image

10x would search for a .10x file within the directory its launched

slynch8 commented 1 month ago

Sure.

Btw, 10x already initialises the vcvarsall.bat env vars, see the VisualStudioEnvBat setting

lucrool commented 1 month ago

It doesn't automatically do that for me. Am I doing something wrong? "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" is the correct path to the batch file.

https://github.com/user-attachments/assets/cab24828-f295-4d49-8bc9-3c35a9c53609

image image

https://github.com/user-attachments/assets/4742a1da-162a-428e-bbef-77d6ede16dd8

https://github.com/user-attachments/assets/c72c50c6-f8c0-4f50-8f3b-6d791938c6c9

slynch8 commented 1 month ago

For 10x workspaces you need to check the "Use Visual Studio Build Environment" checkbox in the workspace settings

image

lucrool commented 1 month ago

Very Sweet. Very nice. But, setting up 10x to use window's development environment wasn't straight forward. The docs don't give directions on how to set it up, I struggled this far forward by what someone told me to do and watching the only other resource I could find on the 10x (a YouTube video). Though it's obvious you're supposed to check "Use Visual Studio Build Environment" having to enable it in two places is confusing (especially with there being no guide).

Path of the Visual Studio VsDevCmd.bat or vcvars64.bat batch file to use for setting the Visual Studio build environment. Restart 10X after changing this value. Set to 'auto' to let 10x try and find the path

Doesn't mention the checkbox (But wow, it's so obvious now that I needed to enable it).

Don't want to sound like I'm complaining, just want to help improve the editor so I'm being maybe pickier than I need to be. I like 10x a lot.

slynch8 commented 1 month ago

Thanks, that's good feedback. I'll update the docs.

slynch8 commented 2 weeks ago

Have 10x executable be able to find project without specifying .10x extension

fixed (1.0.203)