Steve Kinyon

Command line usage of JustCode

The ability to run and export results from the Analysis tool (i.e. Errors & Warning Window) as well as the Test Runner. I'd like to integrate those into the continuous integration (CI) build rather than use other tools. That way there is an integration and consistency between IDE to build processes. The alternative I have now is to use JustCode in the IDE but still need an entire set of different tools and configurations to create CI build reporting. Because we use the CI build to validate team code QA and for management metrics, we need a CI compatible processes but we'd prefer to have those results from JustCode.
Feature Request by Steve Kinyon Status: New Comments: 0 Last update: 2014-11-25T19:20:00 by Steve Kinyon
0
Zdravko Branzov
Team Member

Generate Documentation to all members in class.

As a user I would like to have a command that would generate documentation for all class members.
Feature Request by Zdravko Branzov Status: Reviewed Comments: 2 Last update: 2014-11-25T19:07:32 by Steve Kinyon
0
Christopher Cicchitelli

IntelliRush competitor please

please add an IntelliRush competitor to the toolkit if possible
Feature Request by Christopher Cicchitelli Status: New Comments: 0 Last update: 2014-11-21T22:48:29 by Christopher Cicchitelli
0
Edwin Van de Burgt

JustCode: incorrect warning "This cast is not required"

JustCode indicates a cast to object is not required, but because the type is 'dynamic' it truly is required, otherwise runtime (=compile time in this case) it fails!

Consider the following example code (MVC partial class):
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Functie>" %>
<table class="competentietabel">
<% List<Competentie> competenties = (List<Competentie>)ViewData[Constants.VIEWDATA_COMPETENTIES];
int rows = (competenties.Count + 1) / 2;
for (int i = 0; i < rows;i++)
{
object obj1 = new { FunctieCompetentie = Model.FunctieCompetenties.Where(x=>x.CompetentieId == competenties[i].Id).ExtSingleOrDefault(null), Competentie = competenties[i] };
object obj2 = i + rows <= competenties.Count - 1 ? new { FunctieCompetentie = Model.FunctieCompetenties.Where(x => x.CompetentieId == competenties[+rows].Id).ExtSingleOrDefault(null), Competentie = competenties[i + rows] } : null;
Response.Write("<tr>");
Html.RenderPartial(Constants.VIEW_FUNCTIECOMPETENTIE, (object) obj1.MakeExpando(), new ViewDataDictionary()); // Anonymous object is internal! DO NOT PASS anonymous objects to partial views!
Html.RenderPartial(Constants.VIEW_FUNCTIECOMPETENTIE, (object) obj2.MakeExpando(), new ViewDataDictionary()); // And by the way, the cast to object IS REQUIRED!!!
// And new ViewDataDictionary() is also required, otherwise in case of a null object, Model will be passed in!
Response.Write("</tr>");
}
%>
</table>

When removing the cast to object, it fails during runtime (because as it is an MVC partial view, it is compiled at runtime, so it is still a runtime failure) with the following exception:

d:\Projects\FBF\MAIN\FBFWeb\FBFWeb\Views\Functie\FunctieCompetenties.ascx(11): error CS1973: 'System.Web.Mvc.HtmlHelper<Company.FBFWeb.Models.Functie>' has no applicable method named 'RenderPartial' but appears to have an extension method by that name. Extension methods cannot be dynamically dispatched. Consider casting the dynamic arguments or calling the extension method without the extension method syntax.

I think a cast to object should NEVER result in a JustCode warning when the object being casted is of type dynamic.
Problem by Edwin Van de Burgt Status: Logged Comments: 2 Attachments: 1 Last update: 2014-11-21T19:37:29 by Masaki Fujimoto
0
Eric Boumendil

Indentation of multiple 'using' blocks

I like the C# feature allowing a kind of chaining multiple 'using' blocks:

using (var fs = File.Open(path))
using (var reader = new StreamReader(fs, Encoding.Utf8))
{
// [...]
}

But Justcode auto-clean the previous code into this :

using (var fs = File.Open(path))
using (var reader = new StreamReader(fs, Encoding.Utf8))
{
// [...]
}

I find the first indentation mode more clean in that specific case.

Feedback by Eric Boumendil Status: New Comments: 0 Last update: 2014-11-19T08:43:11 by Eric Boumendil
0
Ron Frick

removed unused xaml

It would be nice if you could tell it to find and replace any unused styles/templates/etc.. You could have JC go to each one and give you the option to remove or go to the next.

Thanks,

Ron
Feedback by Ron Frick Status: New Comments: 0 Last update: 2014-10-29T19:13:27 by Ron Frick
0
John Dziurlaj

Incorrect Warning for HTML Missing semicolon

I have a number of links that look like this:

<a href="../ovru/ModifyAddress.aspx?pnl=Twentyfour&lang=SPAN" title="Haga clic aquí para ver esta página en español.">Haga clic aquí para ver esta página en español.</a>

JustCode will give a warning HTML: Missing ';', highlighting the = between lang and SPAN, which is incorrect.
Problem by John Dziurlaj Status: New Comments: 0 Last update: 2014-09-24T17:53:13 by John Dziurlaj
0
Joshua Justis

False Positive with Javascript naming in MVC 3/4

JustCode will report an unexpected javascript error when a javascript function or variable is named using Razor syntax. The following code sample will produce the error:

@model string
<script type="text/javascript">
function SomeFunctionNameWithDynamicSuffix_@(Model)() {
// content here
}
</script>
// remaining page content here
Problem by Joshua Justis Status: New Comments: 0 Last update: 2014-09-22T20:07:58 by Joshua Justis
0
Justin Buchanan

Shared shproj code formatting

Currently when viewing code in shared projects (shproj, projitems) all the JustCode -> Code options are disabled, and keyboard shortcuts don't work. Files in shared projects need to be handled as normal, please!
Feature Request by Justin Buchanan Status: New Comments: 0 Last update: 2014-09-18T22:06:19 by Justin Buchanan
0
Eric Boumendil

Nested ObsoleteAttributes

If an obsolete method invokes an other obsolete method, no warning should be generated by JustCode for the inner obsolete call (just like VS compiler do).
Problem by Eric Boumendil Status: New Comments: 0 Last update: 2014-09-17T08:28:42 by Eric Boumendil
0
Displaying items 1 - 10 of 192