Seems like a simple thing but I cannot find it anywhere online.
If you have any guide on debugging F# script file (fsx) in Visual Studio Code, please share, thank you.
It seems that debugging of F# scripts (fsx) is currently not supported in VS Code, and unfortunately also not in Rider or the standard VS (which has a setting to enable it, but even then debugging does not work with .NET 6 fsi).
Check these github issues for more info (hopefully I did not misunderstand them):
https://github.com/dotnet/fsharp/issues/12084
https://github.com/dotnet/fsharp/issues/5457
https://github.com/dotnet/fsharp/issues/9397
https://github.com/dotnet/fsharp/pull/12722
Related
I'm a student and I wanna start learning this language, I have some experience with C++ projects, it's very easy create, debug you project, add some files. How i can do all of this stuff with lua? Highlighted syntaxes, debug tools, very useful.
I know that on official site you can use lua53.exe file and compile in console, but may be exist more easy way to do it in studio? Also i know that exist a lot of other IDE that can accomplish that kind of stuff, but i get used to VS.
You can use visual-code,
or IntelliJ (with lua extensions).
I am using Visual Studio 2017 Pro, and i am being driven crazy by the lack of syntax highlighting for the Jenkinsfile in my project. I am using the Declarative Syntax, but i just cant seem to find anything on getting this to work. My research says that its based on groovy, but i dont see a way to map it to that language either. Any help is appreciated.
This might not be a solution for everyone, but for me, it worked:
Jenkinsfiles are the only files without extension I am working with, therefore I opened
Tools -> Options -> Text Editor -> File Extensions
and then, I checked "Map extensionless files to:" and selected "Javascript Editor"
This does not require to install any extension and the display is great
I am in the same boat. Using Visual Studio 2017 Enterprise.
I found this extension recently for Visual Studio Code and this extension for Visual Studio.
I'm using Visual Studio 2013 and I have a Virtual Computer with Windows Embedded Compact 2013.
I already have tested some simple C++ applications, just to see if they work on WEC2013 - they do.
Now I am looking for a way to use Lua as a scripting language.
I guess it would work if I embed the right libraries to my project, unfortunately I could not find any libraries that work with the WEC2013-platform.
I have already embeded Lua into a C++ application on win32-platform succesfully.
Now my question is:
Are there some Lua-libraries for WEC2013 or is there any software I could use to reach my aim?
I hope you understand what I'm trying to say, thanks.
I generated my own Lua-library with Visual Studio, by using the latest sources of Lua, which I have downloaded.
Then I just had to add the library-path and the include directory to my project to make it work.
Is there an F# compiler (plugin?) for SharpDevelop? I use SharpDevelop on my netbook for hobby development and it would be cool to program in f# on it.
If you install the F# compiler, SharpDevelop 3.0 automatically supports it. (Oh well. At least people will get a good answer now.)
On Windows, I settled on Visual Studio Shell and the May F# CTP.
There's a rather old (Aug 2008) F# Plugin for MonoDevelop. Read more on its Wiki page.
For the F# compiler, download the xip file from the F# May 2009 CTP page. there are certain known issues with running it on Mono, just search for "F# Mono" for more info.
Now Visual Studio 2010 supports F#. However, that doesn't include the Express editions, so if you're looking for F# IDEs for free, then there's a MonoDevelop plugin (which needs v2.6 IIRC), you can install Visual Studio Shell Integrated and add FSharp to that, or SharpDevelop.
Of these, I'd probably recommend the Visual Studio Shell over the others as it seems to have the best integration between the editor window and the F# Console window. However, if you're interested in doing things cross-platform, then look at MonoDevelop, as you can make sure that something will work on Mono.
Are there any good text editors for F#?
Instead of firing up resource-intensive Visual Studio, I would like to know if there are any text editors that can pretty-format F# code.
I am just getting started with F# and learning through FSI.exe with Notepad is giving me so much trouble...
Check this out:
F# Without Visual Studio
Not to be too much of a tease, but looking ahead, VS2010 uses a new rehostable editor component, you can hear some about it here: Hanselminutes Podcast 147 - The new WPF-based Text Editor in Visual Studio 2010 - Interview with a Dev
Anyway, this means that the F# editing experience in VS can, in theory, be completely decoupled from VS and hosted in a lightweight editor. Which means it's possible F# could ship a sample or something that's 'the VS editing experience' (tooltips, squiggles, intellisense, ...) without VS.
To be clear, we on the F# team don't yet have any concrete plans to ship such a thing, but the new internal factoring of VS and the editor and MEF and whatnot should make this easy to do (we've prototyped it over a weekend, and it mostly works). So hopefully look forward to cool things in the future.
Two other options:
SharpDevelop with F# plugin from Robert Pickering.
Visual Studio 2008 Shell with F# CTP
Any editor which will handle OCaml should handle F# -okay-. Mostly you just needs tabs. I'd recommend KomodoEdit, personally.
For notepad ++ someone made a file and put it up on the wiki:
http://notepad-plus.sourceforge.net/commun/userDefinedLang/userDefineLang_Fsharp.xml
One other option:
xacc.ide, a small ide that supports a bunch of .NET languages. But frankly, I haven't use it for a while since I'm really happy with Visual Studio 2008 (IntelliSense, interactive syntax checking, fsi, etc...).
You can setup Sublime Text 2 to work with F# as described here http://blog.kulman.sk/using-sublime-text-2-as-f-repl/
You can use Ionide package to integrate with Visual Studio Code (VS Code) or Atom editors.
Here is an article "F# Support in Visual Studio Code with Ionide"