How to edit two files at once in Wollok Ide? - wollok

I would like to edit two files at once, is there any way to have two open files at once?
I know that it is based on Eclipse, but I do not know how to do it in Eclipse either.

You can just drag some editor to the side of the screen and you will be able to see both of them side by side.

Related

Which file the component is stored in

I just landed a new gig with a client with no technical background. They bought a website a while ago and now they want to make changes to it.
The problem is the codebase is bloated with redundant files and I can't seem to reach the exact components that I want to edit.
I tried using React dev tools and it shows the component tree but not which files they are inside.
If there is a way to know which file the component is stored in please let me know. Also, If you have any advice on how to familiarize myself with the codebase fast please feel free to share your experience.
You can click the View source for this element icon.
It will navigate you to source panel of the browser developer tool. You can see the source code of the file and if you Right Click the file, you can get the file path from the dropdown menu.
Since I use webpack, the file path is like this: webpack:///./src/components/sms-code/SmsCode.tsx?5fcf

VS code formatting breaks the code unexpectedly in .js files

I am a newbie in React. I am using vscode. Whenever I save app.js file, it formats the whole code and throws errors.
I tried reinstalling vscode. I am also not using any formatting extensions. Where is it getting wrong?
As the other answer already mentioned, a prettier extension could solve the issue, but fundamentally this is because the VScode reads the program as js instead of Jsx. You can select the right language from the bottom panel as you can see from the image. So for the sake of it, I'll post how I do it as well.
Once you click that, a command pallet will open asking you to choose the language you want. Type react and choose the first option. This will clear the issues and read the program as JSX and all snippets if not working will function as well.
Until you are comfortable with keyboard shortcuts refer following steps:
Go to File > Preferences > Settings > User > Text Editor > Formatting
Uncheck format on save option.
I would also recommend using prettier extension.
Install Prettier extensions
Open any file and Right click in the content area
Click Format document with and choose prettier

New Gui does not accept placement "Right" on a command

I try to add a command on the new Gui with right placement but it adds automatically overflow to the .java file.
The Preview design shows it correct https://gyazo.com/eef78ee9d564c6957e62148db50e6bc4
but the simulator shows as overflowhttps://gyazo.com/a4023a18e48ee19a89bc86e294b5434f
Is it a bug?
Thanks in advance
This seems to be a bug in the GUI builder, we filed a lot of issues so please file this there too. It should work although might require you to go thru the steps again.
I would also suggest looking within the .gui file and seeing that the command generation looks correct.

How to create internal Linking inside CHM help file

I am creating a Help file for a C# program i wrote. i am using Windows HTML helper to create the CHM file. how can i go about creating links within this to jump me to another page or another part of the CHM file?
Thanks
Links inside a CHMis nothing CHM specific, they are just use normal HREF urls.
The only thing you want to do is make sure they all have relative paths relative to your CHM root directory.
You have to do it manually in each of source HTML files or use any of the help authoring tools available. Helpinator for example.
It have not come across any way to create internal links in a help file.
A way to do so is to create hyperlinks in a word document and then create the help file. It will work properly as you want.
If you encounter any issues, let me know!

Can this be done by skinning?

I am working on DNN 4.09.03. I want to modify the look and feel of a links module. I know how to change the outer looks with containers, but I want achieve a mouseover effect for the links itself.
Looking closely it appears that the links are placed into a table datacell. I want to set the background of that cell to and image, and on mouseover swap it for another image. Can this be done with skinning?
If not, I need some assistance in extending/customising the links module source. I need to know how to set up the development environment to do this first. I have the DotNetNuke solution (with source code) working in VS2008. How do I integrate the source of the links module, so i can customise it (and rename - maybe mylinks)?
I don't think you can do this by containers. If you can do it by any chance, I bet doing it by modifying the code is easier. You have to remember that you might have problems upgrading the links module in future if you modify it.
Just add the Links module to DNN VS2008 solution as a web application. You can do whatever change you won't to do in it. And then use a nant script to just package it and copy to DNN/Install/Modules folder. And then hit the DNN installation URL:
http://<dnn_url>/Install/Install.aspx?mode=installresources
Alternatively you can write some post-build commands in VS2008 it self to copy stuff. Have a look at the existing modules and where each different part files of a module (.ascx, .dnn, .sqldataprovider) is stored in DNN after installation.
This is possible with some creative CSS and maybe even a little jQuery - i did a lot of this sort of thing for the Blog module without having to touch the core module -

Resources