开发者

change monodevelop f# file order

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开发者_JAVA技巧 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜