Get an older version of your model back Anylogic - backup

I've a question, I made some change in my model and probably did something wrong, but now every time I open my model, it crashes when I want to open something and I need to close anylogic.. So now I want to open an older version of the model, so that I can work further without having to use a backup of one week ago, is anylogic automaticaly saving some older copies of my model or not? If so where can i find these older versions.
Or is there a way to solve this problem. I deleted the type of the arraylist LiftpleinenPeds collection, and now everytime I click on the collection to change this, the whole anylogic crashes. I only need to change it in the main java to add node as shown in the image, but I am not able to modify something there?

You can open the AnyLogic file the '.alp' file inside any text editor. You can make your changes there (but be careful) and rather make a backup before you do this.
You can literally build your entire model in text mode if you want to ;-)

Related

unreal engine 4 open level (by name) does not work?

Hi, I am new in unreal engine platform. Now, I am studying a first person shooter project. I did everything but I could not make work start button. I tried a lot of thing to start button work. Firstly, I fixed the name of map because the name of map should be same. Secondly, I have entered the map files to the packages in the project settings. But I could not find any other thing to fix the mistake. There are no error except building color errors. İs it related to it or are there any other thing to fix it? Also, İt works for other maps. However, it does not work for first person shooter map. What should I do. I really worked hard to do this project and I was too excited.
Make sure capitalization is correct, if not try opening level by string instead of object reference. Also try putting a print string after your button is clicked to make sure the program is actually running. If the program is not running than make sure that the z order is at like 10 in the add to viewport block. As a last resort, add the open level to your player character, if that dosen't work, consider making a new project, verifying the engine (epic games launcher only) or install a later engine version (i.e 4.27 or 4.26) if you are on an older one (though I think open level by object reference is only in 4.27)
here are some opening levels with widget examples:
Opening level by object reference
Open level by name
Edit: Click the blue text (hyperlinks) to open the imgur website with the images (idk why there isnt a preview)
I never thought I should try to not use the name,
My issue was in UE5, but it also has the open level by Object reference
this solved my issue.
speaking of long names, there is something in the editor settings > Enable support for long paths ( >260 characters) - even in 4.27

Texmaker: Is there a way to compile main.tex eventhough some child-texfile is opened in the editor?

The main.tex file in my project is the one to be opened in editor view in order to successfully compile the pdf-document. It has several child-files like e.g. content.tex where I write the actual thesis text.
Every time I want to compile the document in order to view the changes I have to change the editor-file to main.tex. Otherwise the process ends with errors.
I already tried the Ctrl+0 base file setting, but it did not show any changes.
The LaTeX project is based on a template provided by my university and though has to stay untouched in regards of the project structure itself (why so ever...).
I managed to do as I strived to. Don't know whether I'd just been too clumsy or if it relates to the problems I faced during the \input{...} integration, but if anyone wonders how to do so too:
It in fact has been the way I already tried - set the main-document to master-document.
Nevertheless I switched to use TexStudio meanwhile.
Thank you for your response #Gowachin

PhpStorm "Save as" open new file

This always catches me out, but it appears to be another PhpStorm only quirk. Normally when you "Save as" a document, it will open the new file. This happens in all Adobe products, all Office products, and every other app I can think of... except PhpStorm.
So many times I've forgotten about this quirk and started working over the old file, thinking it was the new one. It's most frustrating.
Is there a way to change this behaviour?
Is there a way to change this behaviour?
Unfortunately no.
Save as is basically a shortcut for Save and then Refactor | Copy.
https://youtrack.jetbrains.com/issue/IDEABKL-332 I guess (based on "duplicate" tickets)
General suggestions (Captain Obvious):
Invoke Refactor | Copy on desired file before making changes in it (so it will sit deep in your mind that the currently edited file will keep changes)
Use Local History to rollback unwanted changes in old/original file.

Vb.net project save not opening from anywhere by its original source

I've made a program for my assingment, and code it entirely from home. Obviously I need to submit it and work on it from college, i've got about 13 hours until it's due and I cannot for the life of me figure out what these errors mean, I'm guessing its something to do with the paths of the files. To make it clear, the program does not open and it is not the original copy. I do have other copies and I have tried the same approach with the exact same luck. Thank you in advance.
Okay, an update. As I said, I copied it from home, and pasted it in the folder location that it is calling below, however, it's calling an older version of the game which has no relevence to the game(number guessing game), from a location two files up from the actual vb files. Is there a way i can change what the project opens?
In your second picture just drag 'Form1.vb' to the solution Explorer. That way it can recognize your form. I have encountered this problem before and I just did what I said above.

In Intellij IDEA how do I reload file content's from disk?

In vim I can type :e and reload a file's contents from disk overwriting any changes I've made. It's a nice way to reset in case I've gotten lost or just want to undo all my changes. This obviously doesn't take into account any kind of refactoring, I just want to nuke all changes to buffer. Not even closing and reopening a tab will work.
How do I do this with Intellij IDEA? I'm using Intellij IDEA Ultimate 13 and I've disabled any kind of auto save.
File > Synchronize (Ctrl+Alt+Y)
It will load the file from the file system. If you have unsaved changes, it will ask if you want to discard them.
⌥⌘Y - Synchronize for Mac users
What I do in a similar situation:
Simple - Ctrl+Z, Ctrl+Shift+Z many times to quickly navigate the editing history
VCS rollback - either for the whole file or for the area being edited (by clicking green areas on the left)
Local History. Well, yes, for you case it's granularity is not sufficient, so first might be an option
There is also an option to put a label into Local History if you need to rollback to a specific point in time.
For those who use autosave - it is being triggered when code editor loses focus. So doing Alt-Tab during long editing without compiling or running the code makes sense.
Open the file in another editor, make an insignificant change and save it. PHPStorm will ask you what to do because the file system and in memory copies of the file have diverged. Click "Load File System Changes".
Note, I was unable to use my undo history as it had become corrupt.
Since what I want isn't really possible I wrote an extension to do it for me:
https://github.com/btipling/DiskRead/
I'll add it to the Jetbrains plugin repository, it's called "DiskRead".
I wrote a blog post about how I created this if anyone is curious.