F# Intellisense in Visual Studio for Mac - visual-studio

Autocomplete and intellisense is TERRIBLE for visual studio for mac. It will literally autocomplete random objects in the middle of strings and will not work at all when in the middle of a function that doesn't have a valid return value yet (in for or let statements). I had to turn it off because it's way worse than being useless. Anyone have any tips on how to fix this or should I change IDE's? Or is this a problem unique to myself. For reference I am in a script file.

I would highly recommend Visual Studio Code with Ionide extension installed.

Related

Is there a path-autocomplete extension on Visual Studio 2017?

I used to code on Visual Studio Code. Now, i'm trying to learn how to code on Visual Studio 2017 as it will be more beneficial for me. So far, it's so good.
But there is one thing which i miss on VS which is, in VSC, there was a neat extension, called Path Intellisense which autocompleted (or showed suggestions for) ./../file style file-paths. While coding in javascript (ExpressJS to be exact) i got no suggestions for file path autocomplete. Also, i didnt get any extensions to do so.
Those dot style file paths confuse me and i would really like an extension, or a workaround, in VS to help me with that. Are there any extensions for this?
E.g.

Visual Studio not applying colors

I'm using Visual Studio 2015 with F# Power Tools for programming F#.
I changed the colors for a few things, but my F#-files (fsx and fs) are still looking like they looked before.
Source:
I googled for a while, but cannot find any solution.
Since F# is missing parentheses, it would be really helpful to highlight function names and types.
Any ideas?
I don't know why, but disabling and enabling the F# Power Tools fixed it.

Visual Studio Community 2013 Parenthesis

I just starting using Visual Studio 2013 Community Edition, and there's a really, really annoying feature that I don't know how to get rid of: if I start typing code on a new line, the editor immediately adds () where my cursor is. No matter what. Even when it makes no sense (e.g. I'm not calling a function).
Is there any way to get rid of that?
Thanks!

Visual Studio text editor does not recognize F# source?

I have got the following problem with F# code recently: almost the complete code is underlines with curly red lines (indicating problems) and whenever I hover with the mouse cursor over any word the pop-up appears with the message "Unexpected token". IntelliSence doesn't work either.
Nonetheless if I start the project it is executed without any problem.
This happens both to already existing F# files and to newly created F# projects. I remember it was working just 2-3 months ago!
I tried to deactivate all possible extensions but it doesn't help.
Any ideas?
I get this too. Sometimes, simply exiting and going back into VS helps. When I tweeted the problem, Don answered with this:
"do you have "python tools for visual studio alpha" installed? if so, uninstall it or apply the hot fix"
This wasn't relevant to me (as I haven't been anywhere near python) but I'm posting here in case it helps you.
-- Edit: here's a link to the patch, thanks to Alexander Galkin: http://pytools.codeplex.com/workitem/599
I haven't seen this situation before but here's a guess at why it's happening and how you might cure it.
Visual studio works on a system for plugins. Even the stuff that is "native", like the C#/F#/VB.NET project systems, are just plugins that uses the visual studio shell. It looks like the F# plugin has been damaged in someway.
If this is Visual Studio 2010:
You might try opening the visual studio installer and trying a repair installation or deactivation and reactivating the F# project system
If this is Visual Studio 2008:
You might try uninstalling and reinstalling the F# plugin

int number; number.m_value?

Today my Visual studio couldn't help me by auto complete so I thought that the ReSharper trial period had ended .After I suspended ReSharper I see that still no auto complete. After a few changes I see still the same problem and there are some strange behavior in Visual Studio. For example I see m_value field for int. But my other Visual studio instances works as expected. How can I fix this problem?
Probably there is an error somewhere in your code which is causing the types to be determined incorrectly - for example a missing curly brace. Check your code carefully for errors. Make sure that your code compiles correctly.
PS: You don't need ReSharper to get autocompletion. Intellisense is a standard feature of Visual Studio. Even without ReSharper I find the built-in autocompletion extremely usable.
IntelliSense is Microsoft's implementation of autocompletion, best known for its use in the Microsoft Visual Studio integrated development environment.
The file property build action was content and this was reason of those strange behaviours. It is fixed after turned build action to compile.

Resources