Is it possible to make game files available for external direct editing, in other programs, for the local version of Micro Studio? This is especially necessary for editing code in “adult” IDEs.
Many of Micro Studio's missing features can be easily compensated by using external specialized programs. This is especially important for code editing. The Local Stand Alone version of Micro Studio would work well for this. Simply, it would be necessary to make the game files available for editing in external programs.
If I'm not mistaken, now project files in Local Micro Studio are not available for direct editing in external programs.
Is it possible to make project files in the Local Stand Alone version of Micro Studio available for editing in external programs?
Yeah. There's a couple ways. But I don't think it's exactly what you're looking for.
1 - You could just copy the code manually. Transfer it to the IDE. Edit it there. And then manually transfer it to Micro Studio.
2 - You could export your project. It will come out as a zip archive. Unzip it and you will have direct access to the project files. And you will be able to edit them directly.
But the problem with both of these approaches is that Micro Studio does not automatically pick up changes in the game files. You will have to manually transfer the changed files to Micro Studio.
I understand that you just want the files to be in a folder somewhere in Micro Studio. So that they can be simply edited in external programs. And that Micro Studio automatically picks up their changes. Is that right?
Apparently, there is no such possibility yet.
Browsing github I saw this project >>
Connect VisualStudio to MicroStudio server and work online with code .
https://github.com/CodingButter/microstudio-vscode
Yes. I would like at least to be able to edit code in VS Code. With support for the usual VS Code functions.
1 - So that code changes would be instantly picked up by Micro Studio and immediately reflected in the Run window.
2 - So that IDE can work with such a project normally. Code Completion, which sees all project code, third-party libraries, and all Micro Studio standard libraries.
Theoretically, all this can be done. It is enough to make the project code to be in the form of regular folders and files. As it looks like in the exported zip archive.
You can make Micro Studio track changes in these files. And if something changes in such a file, then Local Micro Studio should just immediately change the code in its built-in editor to match the new changed external file.
Theoretically, making code files available for editing in external IDEs is very much easier than implementing their functions in the built-in editor.
Loginus, oh, very interesting information. Thank you very much!
Not sure what do you mean that your files are not available for direct access while working with local versions of MicroStudio.
Both version from itch and version cloned from github store all your files locally on your drive.
github version: microstudio/files
itch.io Windows version: c:\Users[username]\AppData\Roaming\microstudio\files
You can access all your project files and even map github repos to this locations.
Sebastian, thank you very much for the information. I was not looking in the User folder. I was only looking for project files in the folder where Micro Studio is installed. And they are not there. That's why I thought that Micro Studio stores these files not as regular files, but in some packed form. And it turns out to be like this. It turns out that project files are simply stored in the User folder.
In this mode VS Code works with Micro Studio almost as I expected. Micro Studio does pick up file changes. Only, the problem is that code changes are not picked up in real time, but only after reloading the project inside Micro Studio.
It looks like by making small changes to Micro Studio code, it can be relatively easy to teach it to automatically listen and pick up code changes from external IDEs in real time.
Loginus, I've been trying to run your variant for a long time. For some reason, it doesn't work for me. Npm complains. It says that some dependencies are no longer supported by npm. And complains that it can't build.
C:\Users\Boss\microstudio-vscode>npm install
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
added 267 packages, and audited 268 packages in 10s
70 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
C:\Users\Boss\microstudio-vscode>npm run build
npm error Missing script: "build"
npm error
npm error To see a list of scripts, run:
npm error npm run
npm error A complete log of this run can be found in: C:\Users\Boss\AppData\Local\npm-cache_logs\2025-03-13T20_39_18_124Z-debug-0.log
C:\Users\Boss\microstudio-vscode>
I've only seen this project - I haven't used it.
When I try to run "npm run bulid" I get the same error.
I see that someone has already reported this error to the project author.
We have to wait for the problem to be solved.