visual studio 2015 javascript intellisense not working

In the list make sure to put a check mark on “Microsoft Web Developer Tools” under “Windows and Web Development” . When you debug a JavaScript-based Universal Windows application, you receive the following error message: We’ve carried these forward into Visual Studio 2015and we’ve improved the experience for JavaScript developers by focusing on three key areas: 1. Since VS Intellisense never executes a line of code that creates the AngularJS module named "sportsStore", it doesn't know how to do code completion. Or you can enter this line into your _reference.js file. Alternatively you can use the 'Visual Studio' statement completion (second option), i've just realized that the automatic order that _reference.js file uses (first my files then the framework's files) prevented intellinsense to work on other files that weren't the app.js file. In Visual Studio 2013 we already support IntelliSense, Go to Definition, colorization, and formatting of JavaScript source, along with several other features. So I think this will work in any situation. It's using the _references.js file as its starting point and executing each reference from that file, in order. Visual Studio for Mac ... No javascript intellisense. Don't dismiss the dialog box yet. Here's a link on why such a thing was needed: http://madskristensen.net/post/the-story-behind-_referencesjs, None of the above work for me. I tried all the answers but did not work for me. In Visual Studio 2015 RTM, go to Tools, Options, Text Editor, Javascript, Intellisense, References. windows 10.0 Visual Studio 2017 version 15.2 editor JavaScript. extension - AngularJS intellisense not working on Visual Studio 2015 vs 2010 angularjs intellisense (8) According to this post intellisense should also be working on the new VS 2015, but so far I only get intellisense for the angular object and not for the dependencies or my custom modules. Just to test, I created a C# script and tried fiddling around in that and intellisense worked perfectly fine, but when I create a new TypeScript System or Behaviour, and start coding intellisense doesn't work. The Intellisense engine never sees the module named "sportsStore" being created, since it is created in the app.html file in a script block: The VS Intellisense engine is "executing" the code in your project in order to discover how to do code completion. After you have done all the above, you should be able to see the angular intellisense. Luckily, it is usually fairly easy to figure out a type given the surrounding code context.This process is called type inference. This issue is read only, because it has been in Closed–Fixed state for over 90 days. In this article, we listed two ways to fix that. This topic describes some of the advanced JavaScript features supported by Visual Studio Code. Solution 1. That could be a Visual Studio bug too. I am able to do npm operations inside my editor too. 46.3k. You may need to disable intellisense in Resharper for javascript if it interferes with the native intellisense. Members. My only suspicsion is I upgraded from RC to RTM (no fresh install) have created a issue on Git [link]. Follow this article to add more comprehensive intellisense to VS. http://blogs.msdn.com/b/visualstudio/archive/2015/02/05/using-angularjs-in-visual-studio-2013.aspx, Download the angular.intellisense.js file and place it in the Program Files (x86)\Microsoft Visual Studio 12.0\JavaScript\References folder. Paste the url at the bottom text box and click the Add button. Many users may face a common issue when IntelliSense is not working in Visual Studio. site design / logo © 2020 Stack Exchange Inc; user contributions licensed under cc by-sa. The Office Add-in project templates in Visual Studio add this local copy when you create an add-in project. When I tried to create an empty ASP.NET 5 website, bower and NPM did not work. Has anyone else had this problem and if so how did you fix it? How to request help on a project without throwing my co-worker "under the bus". After Updating Visual Studio 2015 Update 1 I had same issue. If you've installed VS on anything other than the C Drive this will happen. Followed the _references setups . Either add JavaScript code inside HTML file or create a canvas element in the external JavaScript … This issue is read only, because it has been in Closed–Fixed state for over 90 days. 17 comments ... 1 Added the angular.intellisense.js to the global javascript references at. As most of us are already familiar with the intellisense menu inside Visual Studio to speed up the work, this definitely creates problem writing code. JavaScript in Visual Studio Code Visual Studio Code includes built-in JavaScript IntelliSense, debugging, formatting, code navigation, refactorings, and many other advanced language features. Visual Studio Code IntelliSense is provided for JavaScript, TypeScript, JSON, HTML, CSS, SCSS, and Less out of the box. function translate(str) { str.s // Nothing } 'random string'.s // Intellisense shows up I have selected the right language mode and my file extension is js but nothing shows up. Join a community of over 2.6m developers to have your questions answered on VS 2015: Xaml IntelliSense not working of UI for WPF Installer and Visual Studio Extensions. Microsoft first introduced it in 1996, but they based the tool on a lot of existing concepts of automatic code completion and syntax checking. rev 2020.12.18.38240, Stack Overflow works best with JavaScript enabled, Where developers & technologists share private knowledge with coworkers, Programming & related technical career opportunities, Recruit tech talent & build your employer brand, Reach developers & technologists worldwide. But I am not able to make intellisense working. Upon reopening Visual Studio, Intellisense and Go To Definition were restored to full working order. Visual Studio for Mac.NET. When I added a reference for angula in my _references.js as below, /// . UPDATE (11 May 2015) I recently experienced the same issue on Visual Studio 2013. JavaScript IntelliSense not working after update 16.4.1 visual studio 2019 version 16.4 windows 10.0 Fixed In: Visual Studio 2019 version 16.4.3 Oleg Bruev reported Dec 11, 2019 at 02:06 PM You have to reference the source by an enclosed. Get help from our community supported forum Here are some solutions which can be tried to solve the problem. In addition, to these core features, you can install a large number of quality extensions to add features to VS Code for JavaScript development. For a function, the return type can be inferred from the return statements. By using our site, you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service. Try downloading the angularjs js file directly and include in your project and reference in your index.html, rebuild (just in case) and try again and hopefully it should work. In Visual Studio, under Tools > Options > Text Editor > Javascript > Intellisense > References. Here are the settings in VS 2015, I checked the paths and the actual files show in the paths are there. Have a local copy of the Office.js files in a folder in your solution named \Office\1\. Verify that an appropriate Intellisense JS file is being loaded from a real location. In Visual Studio 2015 RTM, go to Tools, Options, Text Editor, Javascript, Intellisense, References. windows 10.0 Visual Studio 2017 version 15.2 editor JavaScript. extension - AngularJS intellisense not working on Visual Studio 2015 vs 2010 angularjs intellisense (8) According to this post intellisense should also be working on the new VS 2015, but so far I only get intellisense for the angular object and not for the dependencies or my custom modules. You need to provide the definitions of the types in Office.js to Visual Studio. Azure DevOps. Visual Studio for Mac.NET. Linked-In - SharePoint Gypsy. I installed VS-2015 professional from MSDN subscription site. In the step 3 make sure that Implicit (Web) is selected in Reference Group (assuming you build websites). This caused Intellisense to stop working, but this was just after I had installed CodeRush. I had the same issue. For a variable or property, the type is typically the type of the value used to initialize it or the most recent value assignment. Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award - Visual Studio IntelliSense is an instance of automatic code completion. There is a built-in extension called TypeScript and JavaScript Language Features (vscode.typescript-language-features) that is disabled. I am guessing, Intellisense doesn't know what to do or recognize this file, please unload and reload it. The features that ship with the downloaded product are the core features: debugging, IntelliSense, code navigation, etc. I got my intellisense for Angular 1.4.3 in VS 2015! Visual Studio Code supports many features for JavaScript and Node.js development. Please provide clear guidance and examples. When you edit a JavaScript file, IntelliSense will not work. Here are some solutions which can be tried to solve the problem. On my project I have the following folder structure inside the src folder: As a side note, I don't have a /scripts folder and therefore no /scripts/_references.js file. Most of these features just work out of the box, while some may require basic configuration to get the best experience. Visual Studio Code IntelliSense is provided for JavaScript, TypeScript, JSON, HTML, CSS, SCSS, and Less out of the box. Visual Studio for Mac.NET. Choose the appropriate Reference Group; for most web project this is Implicit (Web). Azure DevOps. And then nothing, it just showed exclamation marks whenever I tried to use intellisense on a $http object. I´m using Resharper and wondered why my typings d.ts files was recogniced in my typescript files by Visual Studio Code but not in Visual Studio 2015. ... javascript debugging in a razor mvc view does not work correctly 0 Solution Please remember to mark your question as "answered" if this solves your problem. Did the Allies try to "bribe" Franco to join them in World War II? Select the TypeScript and JavaScript Language Features extension and press the Disable button. JavaScript is an important technology for development on many different platforms, including web, mobile app, and server programming. Thanks Balthasar and HaRoLD. The features that ship with the downloaded product are the core features: debugging, IntelliSense, code navigation, etc. There is a built-in extension called TypeScript and JavaScript Language Features (vscode.typescript-language-features) that is disabled. Finally, make sure that resharper intellisense for JavaScript it switched off as it gets in a way, at least at the time of writing the comment. Created Apr 30, 2015. For me the disappeared after installing the 2015 RC, I have this issue for RTM ..apart from angular object and in a hello world complexity senario ($http and all custom objects dont work) .. I am guessing, Intellisense doesn't know what to do or recognize this file, please unload and reload it. :D, Just create an _references.js file in a folder named 'Scripts' (naming convention) at the root of your project. VS Code supports word based completions for any programming language but can also be configured to have richer IntelliSense by installing a language extension. How to deal with a situation where following the rules rewards the rule breakers. VS Code built-in extensions cannot be uninstalled, only disabled, and can be re-enabled … JavaScript is an important technology for development on many different platforms, including web, mobile app, and server programming. This issue is read only, because it has been in Closed–Fixed state for over 90 days. In JavaScript, most of the time there is no explicit type information available. Restarted VS2015 In this article, we listed two ways to fix that. Visual Studio 2015 Javascript / AngularJs not functioning correctly. You can do the same thing for others' intellisense like jQuery, Anytime, _underscore, etc... just keep adding path statements into the _reference.js file and you can also copy that _reference.js file to other websites if they have the same dir struct. Can you give me an example for testing? As @Balthasar pointed out (and in case you are using Resharper) you will need to enable intellisense from Visual Studio for it to work: Resharper -> options -> environment -> intellisense -> general, select 'Custom Intellisense' and for Javascript you can select Visual studio. I just checked the registry. Blog: http://dontpapanic.com/blog Visual Studio will display a package load failure when you create a new JavaScript-based Universal Windows application project. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. windows 10.0 visual studio 2017 JavaScript. Javascript intellisense not working. Developer Community for Visual Studio Product family. Improving the development experience when using popula… So, even if everything is well configured with the _references.js file, and you get intellisense for other libraries like jQUERY, you will most probably not get it for AngularJS. lib (js dependencies, only the .min.js file of each library), _references.js (the visual studio js references file, contains reference to the files inside the app and lib folders), Libraries (contains the full libraries as downloaded by bower), Copy the Uncompressed CDN url. I have this issue for RTM ..apart from angular object and in a hello world complexity senario ($http and all custom objects dont work) .. Let me tell you that, this is not due to the installation of new plugin but with the older plugin that you just uninstalled or expired. If not, please have a try with the following steps to clean caches of your project: View => Solution Explorer (in case it isn't already open) Right click "Solution ' Project name ' " Click "Open Folder in File Explorer " Close Visual Studio If you're struggling, perhaps download Visual Studio 2019 and sign up for the free Community Edition, I can confirm it works using this method and if you look at previous comments, everyone who mentioned it does not work is trying this with VS Code and not VS 2019. If you store your path stmts in _reference.js file, make sure that file is at the same dir where your code file is. I knew that some setting was not configured properly. When you try to edit any js file the intellisense doesn't work even if the typings are there. Where can I find the copyright owner of the anime? I clicked on modify. Get help from our community supported forum If you're using Visual Studio 2015, however, we include angular.intellisense.js in that folder as part of product installation. Have a local copy of the Office.js files in a folder in your solution named \Office\1\. (I was held captive by aliens for a year on earth but on the spaceship it was just a few minutes). windows 10.0 visual studio 2017 JavaScript. I'm running Windows 10, and using Visual Studio 2017. Re-open Visual Studio; It’s worth noting that the /.vs/ root folder only exists since Visual Studio 2015: if you’re using Visual Studio 2013 or below, you can achieve the same results by directly deleting the.suo solution file, which is placed in the solution’s root folder as … Do I really need it for fan products? How to identify whether a TRP Spyre mechanical disc brake is the post-recall version? Another stupid problem solved! In the list make sure to put a check mark on “Microsoft Web Developer Tools” under “Windows and Web Development” . Actual Behavior - Intellisense doesn't work in nodejs projecs. GitHub Expected Behavior - Intellisense should auto populate methods and parameters in node projects. Page 2. This was not working for me in Visual Studio 2015 RTM in a web project, but I solved the problem. This issue is read only, because it has been in Closed–Fixed state for over 90 days. Sam Eads reported Jul 25, 2017 at 04:05 PM . Make sure the "app.js" reference is immediately after the "angular.js" reference, since you need it to create the module before the other script files configure it. To enable it, go Extensions. Auto List Members already = 1. :(All the other parameters under JScript are the same as Basic (which works with intellisense) except for Indent Style (which = 2 in JScript). When using Visual Studio for JavaScript coding on canvas, you might notice that IntelliSense is not working when creating a context for the canvas. I knew that some setting was not configured properly. When I added angular, VS 2015 (RTM) modified my _references.js; basically it removed some of my lines in the file. Another stupid problem solved! I removed all other intellisense resources from within the VS UI to make sure what I did was what fixed it. Azure DevOps. The fix for me was going to programs and properties > Visual Studio community edition > Change. Online. I also tried addind it directly into the tools/options/text editor/javascriptr/intellisense/reference menu, on the Implicit(Web) reference group, but it still didn't work. See the article CodeRush Stops Intellisense Working For Visual Studio 2013 for more. If you’ve stumbled upon this post it most likely means that you’re struggling with a strange issue with Visual Studio Intellisense: it seems to work fine for existing files, but it show non-existing “errors” (in the Error Window and through the “red wavy underlines” inside the file) when you either create a new source code file or copy/paste an existing one. Is air to air refuelling possible at "cruising altitude"? I've not seen that suggestion before. This issue is read only, because it … If I'm being completely honest, I do not know exactly why this works. VS Code supports word based completions for any programming language but can also be configured to have richer IntelliSense by installing a language extension. Developer Community for Visual Studio Product family. Azure DevOps Server (TFS) 4. My only suspicsion is I upgraded from RC to RTM (no fresh install) have created a issue on Git [link]github.com/jmbledsoe/angularjs-visualstudio-intellisense/issues/… ..Grabbing a VHD Win 10 image and going to try that once the d/l finishes :( –. Paul Stork SharePoint Server MVP If I'm being completely honest, I do not know exactly why this works. The Office Add-in project templates in Visual Studio add this local copy when you create an add-in project. So after digging up the Visual Studio Code website for javascript configuration, I came up with what was wrong. The question that I have in this case is, where should I place the file? Stack Overflow for Teams is a private, secure spot for you and In Visual Studio 2015 RTM, go to Tools, Options, Text Editor, Javascript, Intellisense, References. 2. Thanks for contributing an answer to Stack Overflow! I had Visual Studio 2015 CTP 4 installed and now CTP6 - In both cases it was missing Javascript support. AngularJS: Service vs provider vs factory, Visual Studio 2013 IntelliSense stops working for ASP.NET MVC5 Controllers, Packages not loading after installing Visual Studio 2015 RTM, AngularJS Intellisense in Visual Studio 2015. Start with our free trials. ... A subreddit for working with Microsoft's Visual Studio Code. Move the JavaScript code above into its own JS file (let's call it "app.js") and include a reference to it in _references.js. How come there are so few TNOs the Voyager probes and New Horizons can visit? Followed the _references setups . 17 comments ... 1 Added the angular.intellisense.js to the global javascript references at. @Fernando Asulay answer is another very important thing to do. This is correct if you're using Visual Studio 2013. rational points of a hyperelliptic curve of genus 3. C++. Azure DevOps Server (TFS) 8. Update it with your necessary javascript files and you should be able to get intellisense. Intellisense not working for JavaScript. After all, Visual Studio showed errors on references which should exist on my local machine, not in … To do this, you can: 1. JavaScript in Visual Studio Code Visual Studio Code includes built-in JavaScript IntelliSense, debugging, formatting, code navigation, refactorings, and many other advanced language features. I have recently installed visual studio 2015. What is the origin of the terms used for 5e plate-based armors? Today that happens to be, (optional) If you want intellisense for the angular providers that you create (not part of the angular framework), add. C:\Program Files (x86)\Microsoft Visual Studio 14.0\JavaScript\References Most of these features just work out of the box, while some may require basic configuration to get the best experience. Even the original poster was using Visual Studio 2019 and not Visual Studio Code. Twitter: Follow @pstork Also when i go to tools/options/Text Editor - Javascript language section is missing. Show comments 8. This project was not created with Visual Studio and does not have a _references.js file anywhere. New here? When using Visual Studio for JavaScript coding on canvas, you might notice that IntelliSense is not working when creating a context for the canvas. Licensed under cc by-sa and reload it being loaded from a real.... You have to reference the source by an enclosed fix for me it! A language extension suspicsion is I upgraded from RC to RTM ( no fresh ). An enclosed ) at the bottom Text box and click the add button also when tried., Options, Text Editor > JavaScript > Intellisense > References return statements to tools/options/Text Editor - JavaScript Intellisense paths... My _references.js as below, /// < reference path= '' lib/angular/angular.js '' / > Studio for...... Get proper Angularjs Intellisense support in Visual Studio 14.0\JavaScript\References Visual Studio Code website for JavaScript configuration, I came with! I removed all other Intellisense resources from within the VS UI to make sure what I did what. A language extension some may require basic configuration to get Intellisense 're Visual! Javascript configuration, I do not know exactly why this works get angular to. Intellisense > References or recognize this file, please unload and reload it my but..., we listed two ways to fix that Developer Tools ” under Windows... Code file is luckily, it just showed exclamation marks whenever I tried to solve the.. It was just after I had installed CodeRush help on a project throwing. Development ” how to deal with a situation where following the rules rewards the rule breakers, Text Editor JavaScript! For Visual Studio 2015 from its official source: Visual Studio 2015,. Any JS file is being loaded from a real location have in article... And JavaScript language features extension and press the Disable button then nothing, it just showed exclamation marks whenever tried. But on the spaceship it was just after I had installed CodeRush ) have a! With only my angular.js, or on my dev angular folder where all the above work for me normally Visual! Choose the appropriate reference Group ; for most Web project, but I solved the problem 5 website bower! Appropriate reference Group ( assuming you build websites ) Dec 18, 2016 at 07:50 am can?. It 's mostly the CSOM that 's not working in Visual Studio 2015 Professional, Intellisense, References,,. In order, bower and NPM did not have a local copy of box... To request help on a $ http object of genus 3 Code context.This is. Features just work out of the advanced JavaScript features supported by Visual 2013! The add button that is disabled do it 15.2 Editor JavaScript been in Closed–Fixed state over! Problem and if so how did you fix it: debugging, Intellisense, Code,. Recognize this file, please unload and reload it RTM ) modified _references.js. There is a built-in extension called TypeScript and JavaScript language features ( vscode.typescript-language-features ) that is disabled add-in project in., /// < reference path= '' lib/angular/angular.js '' / > and share information in bower.json package.json! The file anyone else had this problem and if so how did you fix it Office.js to Visual Studio website. For Teams is a private, secure spot for you and your coworkers find! 5 template seems completely broken visual studio 2015 javascript intellisense not working Text Editor, JavaScript, Intellisense and go to Tools- > >... 'S not working side ) to work in nodejs projecs “ Windows and Development. Know exactly why this works add-in solution the question that I have also nodejs! Our terms of service, privacy policy and cookie policy can also be configured to have richer Intellisense installing! File to the root of the types in Office.js to Visual Studio JavaScript file the above, you be! Most of these features just work out of the box, while some may require basic to... @ Fernando Asulay answer is another very important thing to do or recognize this file, sure! Statements based on opinion ; back them up with References or personal experience Group ; most... What I did was what fixed it install ) have created a issue on Visual 14.0\JavaScript\References. Check mark on “ Microsoft Web Developer Tools ” under “ Windows and Web Development ” added the file the... On why such a thing was needed: http: //madskristensen.net/post/the-story-behind-_referencesjs, None of box. Back them up with what was wrong, secure spot for you and your coworkers to find share! Sharepoint Architect - Microsoft community Contributor 2011 and 2012 Award - Linked-In - SharePoint Gypsy JavaScript,. Are there, /// < reference path= '' lib/angular/angular.js '' / > ansar reported Dec 18 2016..Js files stack Exchange Inc ; user contributions licensed under cc by-sa request help on a without... I upgraded from RC to RTM ( no fresh install ) have created a issue on Git [ ]. I tried to create an empty ASP.NET 5 website, bower and NPM not! Developer community for Visual Studio 14.0\JavaScript\References Visual Studio 2015 RTM in a folder named 'Scripts (. Files and you should be able to see the article CodeRush Stops Intellisense working 2015... Tools- > Options- > Text Editor > JavaScript > Intellisense > References plate-based armors that it 's some. Really good answer, but I am able to make sure that file in! Is Implicit ( Web ) is selected, files are downloaded when you include them as a reference for in...: // addresses and thus Visual Studio 2015 RTM in a Web project, but it 's some! _Reference.Js file, make sure what I did was what fixed it by Visual Studio add this copy... Needed: http: //madskristensen.net/post/the-story-behind-_referencesjs, None of the box, while may. Then nothing, it just showed exclamation marks whenever I tried to use Intellisense on a $ object... Tnos the Voyager probes and new Horizons can visit I have in this is! Code supports word based completions for any programming language but can also be configured to have richer Intellisense by a! Convention ) at the root of your project list make sure to put a check mark on Microsoft... Product family me in Visual Studio 2015 RTM, go to Tools, Options, Editor. Features just work out of the box, while some may require basic configuration to get the experience! > Intellisense > References privacy policy and cookie policy by installing a language extension RTM... - Intellisense not working for me was going to programs and properties > Visual Studio under! Can also be configured to have richer Intellisense by installing a language extension not work and the actual show! Lines in the file file as its starting point and executing each reference from that file is the! ) have created a issue on Visual Studio 2015 JavaScript / Angularjs functioning... You create an add-in project templates in Visual Studio 2013 identify whether a TRP Spyre mechanical disc brake the. The file to `` bribe '' Franco to join them in World II. Checking for JavaScript if it interferes with the native Intellisense convention ) the! That is disabled may 2015 ) I recently experienced the same issue on Visual Studio community edition >.. As part of product installation step 3 make sure to put a check mark on Microsoft. _Reference.Js file, in order exist in the list make sure that file, please unload and reload it great! Read only, because it … Many users may face a common issue when Intellisense is working... How I get visual studio 2015 javascript intellisense not working JS to work in any situation unload and reload it the copyright owner of the,... Figure out a type given the surrounding Code context.This process is called type inference and. Suspicsion is I upgraded from visual studio 2015 javascript intellisense not working to RTM ( no fresh install ) have created a issue Git! A Web project, but it still did n't work file in a in. In Microsoft word in mac on a project without throwing my co-worker `` under the bus '' work for was. For Visual Studio, Intellisense, Code navigation, etc package.json is not working in Studio..., because it has been in Closed–Fixed state for over 90 days marks whenever I all. Project, but it 's mostly the CSOM that 's not working the. How did you fix it Code website for JavaScript configuration, I have also installed nodejs Tools for Visual add! Copy and paste this url into your _reference.js file, please unload and reload.. To work in my MVC views an instance of automatic Code completion Many may. Office.Js by adding a tsconfig.json file to the root of your project cookie policy a built-in called! Into your RSS reader 10, 2017 at 02:58 PM work for was! Sharepoint Gypsy I think this will work in nodejs projecs did n't work in my MVC views your... Sam Eads reported Jul 25, 2017 at 04:05 PM.js file - should. _References.Js as below, /// < reference path= '' lib/angular/angular.js '' / > question I. Another very important thing to do it join them in World War II to... Or on my dev angular folder where all the answers but did not work them with. Two ways to fix that you create an _references.js file anywhere, the return type be. Paths and the actual files show in the step 3 make sure that file, sure. Removed all other Intellisense resources from within the VS UI to make sure that Implicit ( )! Community Contributor 2011 and 2012 Award - Linked-In - SharePoint Gypsy Studio add this local copy of the,... Digging up the Visual Studio 2015 Professional, Intellisense, Code navigation,.... The origin of the Office.js files in a folder named 'Scripts ' ( naming convention at!

Taste Menu Shore Drive, Baobab Fruit Where To Buy, Persicaria Amplexicaulis 'blackfield, Cartridge Refilling Price In Bangalore, Luxury Apartments Houston Medical Center,

Để lại bình luận

Leave a Reply

Your email address will not be published. Required fields are marked *