Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

links in code boxes (and corresponding .dzn files) : open in separate windows #135

Open
GerdaJan opened this issue Feb 12, 2021 · 2 comments

Comments

@GerdaJan
Copy link

"Some of the code examples are shown in boxes like the one below. If a code box has a heading, it usually also contains a link to the source code (you can click on the filename)."

In version 2.5.3 all these links open in separate windows. This is annoying when clicking on a .mzn file and the corresponding .dzn files. How can I change this?
(It used to be different in the version I used 1 year ago).

@cyderize
Copy link
Member

As far as I'm aware, this has only been implemented on macOS, and it still seems to work. What OS are you using?

On Windows (and Linux too, I believe), there's no built-in way to open files in an existing window (although we may end up manually implementing something to do this ourselves at some point). You should be able to drag and drop files into an existing window, if you are opening them from a file explorer (but probably not from a web browser).

@GerdaJan
Copy link
Author

GerdaJan commented Mar 1, 2021

I use Windows 10. Last year it worked perfectly fine (on the same laptop, MiniZinc version 2.4.??).
During my lectures on MininZinc I could easily use the examples from the tutorial by clicking on the links above the code boxes and as the .dzn files opened in the same "IDE", run the corresponding .mzn files with the .dzn files. It worked very good.
As I understand from your answer, this feature is no longer available. That is a pitty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants