I have started using MonoDevelop for F# on a Mac. It's pretty cool, except for the fact that it crashes quite a lot. One thing that is bothering me is that I can't change the order of the F# source files in a project. Is this possible? It will make organising projects a bit of a nightmare if it isn't.
Yes, you can reorder files. There is a special tab for doing that in project options (under the build tab).
Unfortunatelly, this cannot be done using the file browser (because MonoDevelop automatically sorts files by file name and there is no way to disable it).
Assuming you're using MonoDevelop 4.x and a recent version of F# Binding, you can drag and drop to move files into a correct order (no shortcut key supported yet).
Here is the original issue and the pull request if you're interested in (big thanks to Dave Thomas for implementing this).
As a last resort, you can open fsproj files in a text editor and rearrange xml nodes corresponding to source files.
Related
Today, I wanted to create a Setup file for Project in VS Community 2017. When I import file .sln in Advanced Installer 11.1. I receive notification from Advanced Installer.
Latest Version: Not my exertise, but off the top of my head: 1)The first thing you might want to do is to download the latest version of Advanced Installer (15.0.1 at the time of writing), to see if this solves the whole problem.
Language Issue?: If that doesn't solve things (which it just might do), then 2) I suppose this may have to do with the language. It looks like you have a Vietnamese VS project? That Advanced Installer project you show is set to "English" (look at title bar - it says "English US"). Maybe check the view "Translations". It does not look like Vietnamese is one of the supported, built-in languages for Advanced Installer (as of now). Towards the top right, select "All" in the "Show" box and select Vietnamese.
Path Issue?: 3) Perhaps also try to copy the VS project to a path which does not have Vietnamese character in the file and path name? Then try to run the import again.
VS Project Issue?: 4) Perhaps there are weird characters inside the VS Project that cause the problems? I guess there certainly are characters in there that are not normal, Western characters in your case.
Advanced Installer Community: That was just a couple of thoughts off the top of my head - essentially all about language and encoding, there could obviously be further issues. Also reminding you of the Advanced Installer Community Forums. Please try your luck there if you don't get any good answers here.
Some Links:
https://www.advancedinstaller.com/forums
I copied my grails app to another computer and now .gsp files do not open in the editor. They also show a G icon with an arrow next to them. Dragging and dropping or double clicking do nothing. Updating intellij didn't help either
As Dónal mentioned, Grails is not one of the frameworks supported by IntelliJ IDEA Community Edition (you need the Ultimate Edition). You can view the feature comparison here.
Hi I am probably answering now when u no longer need the answer but I bumped into the same issue yesterday and only solved it now. There are chances that you associated the .gsp file type with a program which cannot be opened by intellij in your case GOSU. To fix it go to: File>Settings>Editor>File Types
In the file types go to Gosu Program Source and *.gsp should be in the registered patterns. Remove it and apply changes then you are good to go.
Re-installing community version fixed and gsp files now open in the editor
I have a Delphi XE project and I'm trying to change the version number of the program before building it with MSBuild. Version number information is located in the DPROJ file but if I change these values the version number does not change. I think the reason for this is that when you change version number in the IDE, Delphi saves the changes to both DPROJ and RES files.
Is there a way to compile the RES file from the command line with the changes in DPROJ file? I found this question which suggested saving the version number in an INC file and including that to the project but this feels a bit more complex solution compared to just making changes in DPROJ.
shameless plug: http://www.dummzeuch.de/delphi/dzprepbuild/englisch.html
I ended up solving my problem with this answer. First I unchecked "Include version information in project" in Project Options and added VersionInformation.rc with dummy data. When my build batch file is executed, it generates the correct RC file and because that RC file is added in to the Delphi project, MSBuild uses the contained information for built executable.
I use FinalBuilder to handle the version info. Isn't the stripped version bundled with your Delphi? If not, it is definitely worth the money. Makes releasing a one click action.
Yes you are right. Delphi keeps the version number in both project file and resource file. Unfortunately, resource files' structure is a bit complicated so it is not easy to update programmatically. When I came across this need, I ended up using a tool "SetVersion.exe" which did the job for me. It might help you as well. See this link.
EDIT
Actually now I remember, I used a different tool named "ChangeRes.exe" and it worked smoothly (but it is not free). You can try both and see which one works for you.
Some years ago, I have writed a script to build and increment build number using ruby and rake. Very easy to use.
After the build, the script calls Inno Setup and generates a new installer.
I have to stay away from my MacBook and will use Windows for a while. I missed Textmate's folder view when editing my rails projects. Is there an editor on Windows with the folder view? I know there is the E text editor. But I'll save a few bucks if there is a free (cheaper) alternative, as I won't stay in Windows for long ...
Go with gVim, and when editing a file you can type :edit. to pull up the working directory, and navigate from there. Also you get geek cred for rolling VI!
Have a look at Komodo Edit. Some people are already using it for Rails development.
Netbeans is full scale open-source ruby/rails-editor with a folder-view.
Programmer's Notepad is a very lightweigt open source text-editor, it has a "project"-view (but you have to define the project yourself).
The Zeus Lite programmer's editor has a folders view (i.e. View, Navigator menu) feature and it is also free.
Best one I just found.. "programmers notepad".. It's got different coloring for different languages. (though i always turn that off) and it allows you to map keys..
It also has a hand tree view where you can have "magic folders" that show all the files in a given folder. It is very sleek..
One irk.. to make it so you can have two projects open at the same time, you need to go to options and set the exe to allow multiple instances... I'd have rather seen that as default, but it's easy to fix.
Oh and it's free.
Not that you asked, but bluefish seems to be quite good on linux. Has a similar feel. It's a fast little editor.
emacs has speedbar, diredit mode, other option.
This is speedbar:
Is there DIFF plugin availaple for Delphi? I need simple add diff or patch file to my project, replaceing the porject code, that was changed in the patch, but keeping also the old one incase of falling back to old file without the patch.
If you use a version control system to check the files into, you can use the version control tools to maintain the ability to store differences and merge. SVN along with TortoiseSVN seems to be a very popular (and open source) method of doing just this. There are plenty of examples of integration into the IDE.
The history tab in the IDE works well too, if you are the only one working on the file. If this is the case I would set the history rather high, and use the GExperts project backup wizard to make "checkpoint" backups.
A fantastic windows based diff/merge utility that I strongly recommend is Beyond Compare, which also happens to be written in Delphi. :)
Winmerge
It's an excellent differencing tool for source files without needing Delphi.
Bri
Use a version control system, like mercurial.
I think the OP is asking something like the diff/patch utils from GNUWin tools.
You get a patch file and apply it to the code base.