Comments (6)
If I understood correctly, a possible solution for this would be to create a dummy project in GAMS Studio that is always open and then any file I opened would be associated with this dummy project. Is that correct? I already changed the setting in GAMS Studio to "Open file in current project by default".
Yes, that is correct.
from studio.
Maybe GAMS Studio is scanning and indexing all GAMS files when it opens for the first time?
Not sure, if I got this right, but GAMS is not scanning your system for compatible files. It only cares about files it "knows", which means that they belong to one of the open projects (aka. they can be seen in the Project Explorer). Are the files you are concerned about here part of one of your projects?
from studio.
Thanks for the reply and sorry that the description was unclear (I will admit I am not sure too if I got this right...).
I will say that I rarely define projects explicitly when using GAMS Studio. I typically create a .gms file directly and start editing it. Or I open a .gdx output in a folder to examine it. So maybe previous versions of GAMS Studio that I was using were creating the projects implicitly and the new version was now going through all of them (and for some reason triggering Box Drive to sync the gdx files).
A possibly related issue: after finally being able to open GAMS Studio, I noticed that it created .gsp files in many different folders in our team's shared Box Drive folder. Apparently, if I have ever opened a .gms/.gdx file in some directory, GAMS Studio now created a .gsp file there. This is a behavior previous versions did not have.
from studio.
Whenever you open a file, Studio creates a project for that on the fly (or adds it to an existing project, if you defined it like that in the settings). And when you close a tab in the main Window, the project is still "alive" with the file(s) belonging to the project. If you really want to remove a file and/or project, you need to do it from the context menu of the Project Explorer. You could also do that for many projects at once by marking them first:
A possibly related issue: after finally being able to open GAMS Studio, I noticed that it created .gsp files in many different folders in our team's shared Box Drive folder. Apparently, if I have ever opened a .gms/.gdx file in some directory, GAMS Studio now created a .gsp file there. This is a behavior previous versions did not have.
Studio does that not for every file ever opened, but for every project still open in Studio / in the Project Explorer. This is new with Studio 1.13 (GAMS 42). So could it be, that you actually have many projects open, maybe unnoticed, since you usually do not have the Project Explorer visible? If that is the case, you can "fix" this behavior by closing the unwanted project from the context menu of the Project Explorer.
from studio.
Thanks a lot! This makes a lot of sense.
The opened projects was exactly the issue. The new GAMS studio probably got the list of opened projects from previous versions and then started this whole process.
I never opened the Project Explorer pane before... I will make sure to pay more attention to it moving forward.
It is not always that we view a gms/gdx file in the context of a project in GAMS Studio (in my case, I would say never). A frequent use case here would be to navigate to a colleague's folder and open a gdx or gms file to look at results or code. We may not want to open the whole GAMS project (maybe it does not even exist). So, we would not like that, every time we do this, GAMS Studio creates a new gsp file in the current folder.
If I understood correctly, a possible solution for this would be to create a dummy project in GAMS Studio that is always open and then any file I opened would be associated with this dummy project. Is that correct? I already changed the setting in GAMS Studio to "Open file in current project by default".
from studio.
I think, this can actually be closed now. If you disagree, please reopen.
from studio.
Related Issues (20)
- Some special characters do not display correctly in Sudio version 0.14.6 HOT 2
- GDX viewer variable tables HOT 2
- Crash when loading a particular reference file HOT 1
- Ubuntu 18.04: Shift+Arrow-Keys does not work HOT 4
- Ubuntu 18.04: Studio 1.0.0 -- Settings export does not work HOT 3
- Feature Request: More themes for syntax highlighting HOT 2
- Run Options not file specific/sticky anymore HOT 2
- Feature Request: Change the size of tabs HOT 4
- **** No license specified and no gamslice.txt found in standard locations HOT 2
- Solver lincense information HOT 2
- Question: Support other language(s) HOT 1
- Cannot open GAMS Studio: Missing library libjoatdclib64.so HOT 1
- Group by containing directory in Project Explorer HOT 2
- Cannot type # in Studio using a Swiss German Keyboard HOT 2
- Cannot "Search & Replace" within a selected part of the code only by just pressing Replace All HOT 2
- Studio crashes when opening GAMS file from macOS finder HOT 2
- Button tcol-one and tcol-all only works when clicking over a small area HOT 1
- Blank operations
- Studio from GAMS 42.5.0 has started to exit shortly after launch HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from studio.