MS Dynamics CRM 2012: Script Editor Enhancements - javascript

I have been trying to find some more information about the next Microsoft Dynamics CRM product (2012 / 6). Mainly I am interested in any enhancements that will be made to the scripting editor.
There was great improvements between version 4 and 5 (2011), the most welcome for me being the ability to share script functions across form/field events.
What I really miss though is the complete lack of formatting in the editors. Yes, it would be great to have intellisense and the likes, but I would be happy just to settle for a better formatting function (auto-tab) and some highlighting for better readability.
Does anybody have any information on where Microsoft is going in this respect? I am happy to do some reading if anybody has a good link to share.
Maybe there is a 3rd party tool that has good integration? I would be interested in taking a look into some of them if they exist, or somebody can recommend through experience.
Looking forward to hearing other peoples opinions on this one.
Thanks

I use a modified version of Tanguy's JavaScript Web Resource Manager for Microsoft Dynamics CRM 2011 project to store, edit, and publish my JS files, and I use Patrick Verbeeten's XRM intellisense js for intellisense. It's mostly seamless/painless, with the biggest bottleneck in deployment speed being the time it takes for the js files to publish. Other than that, no real complaints here.

The built-in script editor isn't scheduled for any enhancements that I know of right now. However, the SDK includes the Developer Toolkit, which makes working with CRM in Visual Studio a heck of a lot easier. Have a look here for documentation: http://msdn.microsoft.com/en-us/library/hh372957.aspx
~Matt Cooper, program manager, Dynamics CRM

Related

Code snippets editor for developers in a web application

I was asked to create a configuration web interface for a set of configurable C# code snippets. This interface will be used massively by our company's developers.
Our company codding standard is ASP.NET / C# and all developers' IDE is Visual Studio. I figured out the best way to keep their developing experience unchanged is to actually open the snippets in Visual Studio, however I am afraid this is not even technically possible.
I also thought of using some highlighting libraries, however it will solve only the coloring problem, but not the rest of what the usual C# IDE offers.
Any suggestions?

programming in javascript with Visual Studio (2010)?

Whether you are forced to code javascript in Visual Studio 2010, or insist on using Visual Studio 2010 instead of another IDE, I'm wondering what anyone has done to improve the javascript development experience in VS2010.
I'm asking since javascript support is lacking in Visual Studio 2010. You don't get the the kind of support you get as if you were developing Silverlight apps in C# and XAML. For example, the intellisense doesn't support javascript 1.8.5 (or even 1.6 functions i.e. JSON.Parse), it's difficult to navigate to function or object definitions (no Go To Definition), no Object Browser, Call Hierarchy, and the list can go on.
What have you done to compensate for the VS2010 features that don't exist for javascript? Also, what would be a good feature request to support javascript development; anything that VS2010 should add as an extension or a future release? Also, are there any suggestions to manage the .js code for large projects?
A few things that have helped me so far are the JScript Editor Extensions, and the Web Standards Update. Also, when working in .js files I rely on bookmarks to get back to key places, since the functions of the file aren't visible (as the would be in C#). My feature request would be to add intellisense support by javascript version, similar to how you can target .NET 2.0, 3.5, or 4.0.
There are a number of VS extensions to assist with javascript:
Visual Studio Javascript extensions feature comparison
JSEnhancements is awesome, and does what you really want: adds regions and code block collapsing.
Also see this extension: http://code.google.com/p/js-addin/
which parses your script into an object tree that can be used for navigation.
I have also used the free version of this editor: http://www.yaldex.com/JSFactory_Pro.htm
I can't recommend it, unfortunately, because it suffers from a couple critical problems (awkward UI, freaky intellisense, and not entirely stable). Which is too bad because it's a very thoughtfully designed piece of software by and large, it just fails where the rubber meets the road.
1) Install Resharper, helps a lot when building javascript heavy web apps.
2) Get FireBug for debugging.
3) Also, the JQuery.vsdocs files are sometimes helpful!
While I use vim and Notepad++ to cut code, I feel your pain, or did until I started using Firebug to debug JavaScript. While it many not be exactly fitting for your situation it's invaluable to me in developing Web based apps:
http://getfirebug.com/

IDE for ECMAScript-262 with in IDE execution / debugging for node.js/V8

I currently use Eclipse as my IDE for other languages and I'm rather used to not having to leave the IDE for anything - however I'm really struggling to find the same or a similar setup for pure ECMAScript-262.
To clarify, I am not looking for DOM support, jquery, HTML or anything like that, preferably just an IDE with ECMAScript-262 support (pref node.js) built in (debugging not important) so that I can simply run my code in the IDE.
Any ideas?
ps: please don't suggest aptana.
jEdit is about what you want. Take a look at the plugins available.
So far, it seems there has only been talk about integrating node.js debugging with Google Chrome. But that may be exactly your answer if it happens.
If you don't mind to pay a price, I advice Jetbrains WebStorm.
Recently purchased a license myself (it's not that expensive) and am very happy with it.
Before I used Eclipse and Aptana, but seriously, WebStorm IS quality.
Not sure if I am currently breaking a rule by linking to a commercial product, but it IS an awnser ;)
There is Nodeclipse effort.
Vision
One-stop shop for Node.js tools. We can't develop everything at once,
but we let you know what are the best things around for Node.js
development with Eclipse.
Latest version is 0.4, works well in Eclipse 4.3 Kepler.
It has integrated ChromeDevTools and V8 remote debugger for debugging Node.js application,
that is quite useful when learning Node.js to understand what is happening in memory.
Also comes with markdown (.md) Editor (The same markup language that is used on GitHub, Stackoverflow.com & npm)
It is free open-source hosted on GitHub

Is jWYSIWYG editor too buggy for production use?

After reading the comments on this site:
http://www.webresourcesdepot.com/jwysiwyg-jquery-inline-content-editor-plugin/
There is a bit of consensus that jWYSIWYG editor is too buggy (especially in the last few recent comments). Has anyone had experience with it in a large production site?
I haven't run a huge sample of markup through it yet, but so far it has seemed to do the job fine.
I have been using jwysiwyg (https://github.com/akzhan/jwysiwyg) for about 4 months now on several production sites and I have to say that it is the best lightweight wysiwyg editor that I have used. It is small, fast, and reliable. I strongly recommend it for anyone that doesn't need a full-featured editor. If you need to work with complex source code and html markup then this may not be for you, but for business-level users it works very well.
I am guessing that the original question and all comments until here are out-dated. This is a great plugin.
are u tried to find some other place where this editor can be located? for example: http://github.com/akzhan/jwysiwyg/downloads ? There u can find v. 0.9 released few days ago
This answer may no longer reflect the current state of the project.
Checkout out the current version on https://github.com/akzhan/jwysiwyg and decide yourself.
I don't know the project but I conclude: Don't use it (at least at the moment)
the google code page jwysiwyg contains no documentation
the download also doesn't contain any
there are 91 open issues in the tracker (which for such a small project isn't a good indicator)
last commit (r33) was on the 21. September 2009
the second-last commit (r32) was on 21. April 2009
so no frequent updates to codebase either
no new download file (current is jwysiwyg-0.5.zip which dates from January 2009), although he made 3 commits after publishing v0.5 of which:
2 contain fixes for issues
1 restructures directory layout and adds a minimal example to the codebase
jwysiwyg has grown year-to-year development activity and community.
It hosted on GitHub more than1 year, so feel free to use, fork, patch and do pull request.

JavaScript tools for Visual Studio 2005

I need to find if there are any tools targeting both Visual Studio 2005 and JavaScript. I'm interested in plugins which will increase the quality of work done in VS2005 with JavaScript oriented development.
I think you'll be hard pressed to find anything specific for VS2005, since it is a dev environment and JS is a client technology. However, a couple of ideas you might want to consider:
jQuery. The recent availability of Intellisense for jQuery (although I think it is only for VS2008) helps your quality of work in the sense that you don't have to spend so much time looking back and forth at documentation, although I would say that is the best way to really become familiar with it anyway. There are several other good JS libraries out there, but (a) I don't think that was the point of your question, and (b) jQuery is the only one "semi-officially" supported in VS that I'm aware of.
Script#. Although I haven't used it, it looks interesting... basically you program in C#, and it gets translated to JS at runtime.
If you could afford it, I'll recommend upgrading to Visual Studio 2008. You can open .NET 2.0 application without converting them. It comes with much better Javascript Intellisense.
(source: scottgu.com)
One of the other JavaScript features in VS 2008 is the much-improved support for JavaScript debugging.
These features are enabled in both the free Visual Web Developer 2008 Express edition as well as in Visual Studio, and makes using JavaScript and building AJAX applications significantly easier.
If you are using jQuery in your applications, then you could install jQuery Intellisense in VS 2008.
Well, if you want something that will help you write better Javascript in Visual Studio then you can give JSLint a try. It's a plugin that will verify your Javascript code, spot errors, and help you debug it.
Beware, JSLint can hurt feelings.

Categories