Missing color syntax highlighting for javascript files in VS2017

I had an issue with Javascript files having no color syntax highlighting in Visual Studio 2017.

I first found this:
https://github.com/Microsoft/TypeScript/issues/14422 
which focused on a TypeScript related problem and didnt help my issue.

I have ReSharper installed, enabling the settings below solved my issue:

To toggle ReSharper syntax highlighting Open the Code Inspection | Settings page of ReSharper options. Use the Color Identifiers check box to enable or disable ReSharper syntax highlighting. Click Save to apply the modifications and let ReSharper choose where to save them, or save the modifications to a specific settings layer using the Save To drop-down list. For more information, see managing and sharing resharper settings.

Source: Syntax Highlighting – Help | ReSharper

Introducing Vue.js

Vue.js an up-and-coming JavaScript library used to build web-interfaces. In this article, we will introduce you to the library, by building a small, single-page sample application. We will discuss how, why and when to use Vue.js, and introduce you to its elementary features. As such you will learn about templating, and how to develop components and directives to build interactive, performant user interfaces.

Source: Introducing Vue.js | DotNetCurry

Also see: “VueJS vs Angular vs ReactJS with Demos”:
http://www.dotnetcurry.com/vuejs/1372/vuejs-vs-angular-reactjs-compare

Setting up EPiServer find demo index – The remote server returned an error: (413) Request Entity Too Large. 

When running indexing for EPiServer find, the “EPiServer Find Content Indexing Job” in admin tools. The episerver find logs were filling up with these errors:

The remote server returned an error: (413) Request Entity Too Large. 

Problem connected to restrictions for the developer demo index.
I added this setup method as last setup line to the FindInitializationModule:

	    private static void DemoIndexSetting()
	    {
	        string demoIndexSettings = ConfigurationManager.AppSettings["EnableEPiServerFindDemoIndexSettings"];
	        bool demoIndexEnabled = false;
	        if (bool.TryParse(demoIndexSettings, out demoIndexEnabled))
	        {
	            if (demoIndexEnabled)
	            {
                    /* 
                     * demo index has the following limitations:
                        Maximum 10000 documents
                        Maximum 5MB request size
                        Maximum 25 queries per second
                        The index will be removed after 90 days
                     */
                    ContentIndexer.Instance.Conventions.ForInstancesOf<IContentMedia>().ShouldIndex(x => false); //dont index any mediafiles, size limit is 5MB 
                    ContentIndexer.Instance.MediaBatchSize = 3; //default 5
	                ContentIndexer.Instance.ContentBatchSize = 20; //default 100, but demo has limit of 25 
	            }
	        }
	    }

Also added this setting to web.config to enable this feature for certain environments. (dev, test etc. using transformations)

<appSettings>
    ...
    <add key="EnableEPiServerFindDemoIndexSettings" value="true" />

Demo developer services:

https://find.episerver.com/

Visual Studio 2017 not returning to correct line after ctrl click (go to definition) and closing window

For me the problem was connected to ReSharper which already implements this function. Solution was to disable the VS 2017 functionality for ctrl+click. (prefer the ReSharper way with built in decompiling)

Goto options -> Text Editor -> General -> uncheck “Enable mouse click…”

Disable the default vs2017 setting.