﻿<?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/css" href="http://narrange.net/narrangemojo/Data/style/rss1.css" ?> <?xml-stylesheet type="text/xsl" href="http://narrange.net/narrangemojo/Data/xsl/rss1.xsl" ?>
<rss version="2.0">
  <channel>
    <title>NArrange Forums</title>
    <description>NArrange Forums</description>
    <link>http://narrange.net/narrangemojo/Forums/Default.aspx?ItemID=2&amp;mid=3&amp;pageid=1</link>
    <lastBuildDate>Wed, 04 Aug 2010 12:50:19 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>RSS.NET: http://www.rssdotnet.com/</generator>
    <item>
      <title>Re: Interpret modifier "None"</title>
      <description>&lt;p&gt;I'll try to be clear&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;in VB method and property without a modifier are public and field are private&lt;/p&gt;
&lt;p&gt;in C# they are private&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;In my config file i'm stuck because i can't differentiate that&lt;/p&gt;
&lt;p&gt;so i can't sort by visibility (or i got two config files)&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;and i find that an option to say interpret none modifier would be nice, and narrange will sort with the real visibility&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=19</link>
      <author>Nico_Garcia</author>
      <pubDate>Wed, 04 Aug 2010 12:50:19 GMT</pubDate>
    </item>
    <item>
      <title>I find and fix a bug, i want to commit</title>
      <description>&lt;p&gt;I found a bug in narrange&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;public class Toto(Of T As U, V)&lt;/p&gt;
&lt;p&gt;was parsed like&lt;/p&gt;
&lt;p&gt;public class Toto(Of T As {U, V})&lt;/p&gt;
&lt;p&gt;so i correct it in the project but i can't commit&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=27</link>
      <author>anna.nelson</author>
      <pubDate>Wed, 04 Aug 2010 12:22:06 GMT</pubDate>
    </item>
    <item>
      <title>Read only Config-File</title>
      <description>&lt;p&gt;Change to the Load Method of CodeConfiguration.Load. Set FileAccess to Read, so it is possible to load read-only Config-Files.&lt;/p&gt;
&lt;p&gt;/// &amp;lt;summary&amp;gt;&lt;br /&gt;
/// Loads a configuration from the specified file.&lt;br /&gt;
/// &amp;lt;/summary&amp;gt;&lt;br /&gt;
/// &amp;lt;param name="fileName"&amp;gt;Configuration file name.&amp;lt;/param&amp;gt;&lt;br /&gt;
/// &amp;lt;param name="resolveReferences"&amp;gt;Resolve element references.&amp;lt;/param&amp;gt;&lt;br /&gt;
/// &amp;lt;returns&amp;gt;The code configuration if succesful, otherwise null.&amp;lt;/returns&amp;gt;&lt;br /&gt;
public static CodeConfiguration Load(string fileName, bool resolveReferences)&lt;br /&gt;
{&lt;br /&gt;
using (FileStream fileStream = new FileStream(fileName, FileMode.Open, FileAccess.Read))&lt;br /&gt;
{&lt;br /&gt;
return Load(fileStream, resolveReferences);&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=26</link>
      <author>Ivan_Russo</author>
      <pubDate>Thu, 17 Jun 2010 09:54:50 GMT</pubDate>
    </item>
    <item>
      <title>Re: Interpret modifier "None"</title>
      <description>&lt;p&gt;Hi Nico,&lt;/p&gt;
&lt;p&gt;It's been a while since I've looked at this, and think I need more clarification on what you're trying to do.&amp;#160; Are you trying to filter elements that don't have any modifiers, like:&lt;/p&gt;
&lt;pre&gt;
&amp;lt;Filter Condition="$(Modifier) == 'None')"/&amp;gt;
&lt;/pre&gt;
&lt;p&gt;If not, can you provide a sample of how you would like to use None in your config and what effect it would have?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=19</link>
      <author>Nico_Garcia</author>
      <pubDate>Fri, 30 Apr 2010 04:29:39 GMT</pubDate>
    </item>
    <item>
      <title>Re: Visual Seperators for code-elements</title>
      <description>&lt;p&gt;Hi Florian,&lt;/p&gt;
&lt;p&gt;I apologize for the very delayed response on this...&amp;#160; I never seem to have quite enough time for fielding NArrange questions.&amp;#160; Anyway, for what you're trying to achieve, I would suggest looking into modifying the &lt;b&gt;group&lt;/b&gt; elements in your custom configuration file.&amp;#160; The&lt;b&gt; &lt;/b&gt;group element allows you to specify a custom separator to insert between elements.&amp;#160; Off the top of my head, for a particular regions, say methods, you might add the following XML within the &lt;b&gt;element &lt;/b&gt;tag:&lt;/p&gt;
&lt;pre&gt;
&amp;lt;Group By="Name" SeparatorType="Custom" Direction ="Descending" CustomSeparator="//=========================\r\n"/&amp;gt;
&lt;/pre&gt;
&lt;p&gt;For an example of usage of the group element, see the default config sections for fields, where fields are grouped by modifier.&amp;#160; In your case, I think you would probably have to group by name so that each group only contains one member.&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=21</link>
      <author>FloWi</author>
      <pubDate>Fri, 30 Apr 2010 04:16:26 GMT</pubDate>
    </item>
    <item>
      <title>Re: Excluding Files @ A Project Level</title>
      <description>&lt;p&gt;Sorry - Google Chrome ate my original post. What I am interested in is being able to exclude a file at a project level from being NArranged. From project to project this file may change which is why I don't want to add it to the config or maintain project level configs.&lt;/p&gt;
&lt;p&gt;An example would be classes written to work with the FileHelpers library, where the order of the fields in the class is important. I would imagine some attribute included in the file that NArrange would look for and then not process the file if present.&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=22</link>
      <author>dean.heard</author>
      <pubDate>Thu, 28 Jan 2010 20:29:20 GMT</pubDate>
    </item>
    <item>
      <title>Visual Seperators for code-elements</title>
      <description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I reeeeaally like NArrange. Great work, folks! I have one question to make it even better for my use.&lt;/p&gt;
&lt;p&gt;I use three different visual seperators to get a quick overview of the beginning of a code element like constructor-method, property and methods.&lt;/p&gt;
&lt;p&gt;below are some samples.&lt;/p&gt;
&lt;p&gt;Unfortunately, Visual Studio doesn't highlight the code-block itself via visual-indicators. So I created my own little visual helpers.&lt;/p&gt;
&lt;p&gt;First of all: If anyone has a better solution than this, please give me a hint. This is just a workaround for me.&lt;/p&gt;
&lt;p&gt;What would be the best way to acomplish dict acomplish this with the great NArrange? You don't have to do the work for me, I just want to know from you, what your idea of the best way in NArrange would be.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;Any comments are appreciated.&lt;/p&gt;
&lt;p&gt;- Florian&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;Sample:&lt;/p&gt;
&lt;p&gt;//**************************************************** Constructors have stars&lt;/p&gt;
&lt;p&gt;public ClassConstructor() {&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;//**************************************************** Constructors have stars&lt;/p&gt;
&lt;p&gt;public ClassConstructor(string x) {&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;//------------------------------------------------------------------------ Properties have dashes&lt;/p&gt;
&lt;p&gt;public string Foo {&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;get { return foo;}&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;set { foo = value; }&amp;#160;&lt;/p&gt;
&lt;p&gt;}&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;//------------------------------------------------------------------------ Properties have dashes&lt;/p&gt;
&lt;p&gt;public string Foo2 {&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;get { return foo2;}&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;set { foo2 = value; }&amp;#160;&lt;/p&gt;
&lt;p&gt;}&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;//=================================================== Methods have equal-signs&lt;/p&gt;
&lt;p&gt;public void Bar(string s) {&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=21</link>
      <author>FloWi</author>
      <pubDate>Wed, 16 Dec 2009 12:10:46 GMT</pubDate>
    </item>
    <item>
      <title>Re: Increased Sorting Options</title>
      <description>&lt;p&gt;Stoney,&lt;/p&gt;
&lt;p&gt;Thanks for bringing the ordinal sort behavior to my attention.&amp;#160; The desired sort to conform to StyleCop rules seems to be case-insensitive.&amp;#160; Thus, the default sort behavior of NArrange has been changed to ordinal, case-insensitive, which should match the behavior you're expecting.&amp;#160; This change has been included in NArrange v. 0.2.9.&lt;/p&gt;
&lt;p&gt;I haven't yet had a chance to look into controlling the sort type through the configuration, but I agree that this could be a useful feature.&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;James Nies&lt;br /&gt;
NArrange Developer&amp;#160; &lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=17</link>
      <author>stoneym</author>
      <pubDate>Sat, 05 Dec 2009 21:33:45 GMT</pubDate>
    </item>
    <item>
      <title>Interpret modifier "None"</title>
      <description>&lt;p&gt;None doesn't really exit. And if I want to make a config file aware of them, i have to know in which language I am (VB or C# don't have same default value) and where am I (in an interface or in a class). Is it possible to have an option in the config to say if we want to use behavior with None, or interpret the None as the modifier really used by compilator.&lt;/p&gt;
&lt;p&gt;It will simplify my config file.&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=19</link>
      <author>Nico_Garcia</author>
      <pubDate>Thu, 19 Nov 2009 09:40:02 GMT</pubDate>
    </item>
    <item>
      <title>Increased Sorting Options</title>
      <description>&lt;p&gt;Right now it appears that NArrange always does an ordinal sort.&amp;#160; This doesn't always have the desired result for us.&amp;#160; &lt;/p&gt;
&lt;p&gt;Also for usings, the namespace should be split on "." before sorting. It causes it not to match StyleCop sort rules.&amp;#160;&lt;/p&gt;
&lt;p&gt;ex.&amp;#160; "using TRS.Utilities" gets sorted before "using Telerik.Web.UI".&lt;/p&gt;
&lt;p&gt;I would like to be able to specify a different sort type in the options.&amp;#160; All of the StringComparer types should be available in the config.&amp;#160; And then make that choice mutually exclusive for usings, methods, properties, etc.&amp;#160; I have made the change myself to the source to get the sorting behavior we want, but I don't have any configuration capability for it.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Stoney&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=17</link>
      <author>stoneym</author>
      <pubDate>Wed, 11 Nov 2009 15:45:17 GMT</pubDate>
    </item>
    <item>
      <title>Re: Arrange methods by execution order?</title>
      <description>&lt;p&gt;Interesting... Yeah, not something that I would see making it in as default functionality to be&amp;#160;included with NArrange, but it should be possible to set up a custom config file that will do this.&amp;#160; You'd probably have to have sub-regions below Methods (with region directives disabled) and have each filter for the particular method names in the order you want them to be sorted within the Methods region.&amp;#160; It may also be helpful to check for a base type with "Page" in the name.&lt;/p&gt;
&lt;p&gt;If this&amp;#160;isn't clear or you&amp;#160;have problems getting this to work, let me know and I may have other ideas...&lt;/p&gt;
&lt;p&gt;James Nies&lt;br /&gt;
NArrange Developer&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=4</link>
      <author>Bror David</author>
      <pubDate>Wed, 02 Sep 2009 20:19:39 GMT</pubDate>
    </item>
    <item>
      <title>Re: Sort override methods by base class</title>
      <description>&lt;p&gt;Bob, you're right, this functionality isn't supported by NArrange and unfortunately it requires a complete overhaul to add the capablity.&amp;#160; The problem is that NArrange simply parses the file and isn't aware of the members in the base class.&amp;#160; In order to support this, NArrange would need to build up an object graph similar to what is used by Visual Studio for supporting Intellisense and the Class View.&amp;#160; Part of this can be done by simply parsing the current project and part by reflecting on referenced assemblies (e.g. System namespaces)...&amp;#160;&amp;#160;not quite so simple as just reflecting on&amp;#160;assemblies, because&amp;#160;the code being processed by NArrange may not even compile.&amp;#160;&lt;/p&gt;
&lt;p&gt;However, if this is supported, questions then come up as to how formatting of an individual file should be handled...&amp;#160; i.e. should the base information in the rest of the project be ignored, or should NArrange try to determine the project the file belongs to?&amp;#160; If NArrange were always able to rely on Visual Studio being present, it could tie into the FileCodeModel, but from the get-go NArrange was intended to be a standalone, cross-platform tool that could also be tied into build processes.&amp;#160;&amp;#160;&lt;/p&gt;
&lt;p&gt;Anyway, it's a huge&amp;#160;undertaking...&amp;#160; not completely out the door, as I agree, it would be great functionality.&amp;#160; The problem&amp;#160;seems to be&amp;#160;finding the time for a near complete rewrite.... by one&amp;#160;developer...&amp;#160;who also has kids to feed and bills to pay.&lt;img alt="" src="http://www.narrange.net/narrangemojo/ClientScript/fckeditor2641/editor/images/smiley/msn/wink_smile.gif" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;James&amp;#160;Nies&lt;br /&gt;
NArrange Developer&amp;#160;&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=5</link>
      <author>bobdole</author>
      <pubDate>Wed, 02 Sep 2009 20:04:55 GMT</pubDate>
    </item>
    <item>
      <title>Re: Arranged file spaces are wrong</title>
      <description>&lt;p&gt;Hi Bob,&lt;/p&gt;
&lt;p&gt;Yes, by default NArrange assumes you are using spaces instead of tabs in files.&amp;#160; However, through a custom configuration file, you can change it to use tabs instead.&lt;/p&gt;
&lt;p&gt;If you don't yet have a custom config file, launch the config editor and create a new file.&amp;#160; Then, change the Formatting -&amp;gt; Tabs -&amp;gt; TabStyle property to Tabs (see below):&lt;/p&gt;
&lt;p&gt;&lt;img height="316" width="493" alt="" src="http://narrange.net/narrangemojo/narrangemojo/Data/Sites/1/images/narrange_tabs.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Alternatively, you can edit the following line in your file from:&lt;/p&gt;
&lt;p&gt;&amp;lt;Tabs SpacesPerTab="4" Style="Spaces" /&amp;gt;&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;&amp;lt;Tabs SpacesPerTab="4" Style="Tabs" /&amp;gt;&lt;/p&gt;
&lt;p&gt;For help on using a custom config, refer to the docs or readme.txt.&lt;/p&gt;
&lt;p&gt;Hope that helps!&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=6</link>
      <author>bobdole</author>
      <pubDate>Wed, 02 Sep 2009 19:39:37 GMT</pubDate>
    </item>
    <item>
      <title>Arranged file spaces are wrong</title>
      <description>&lt;p&gt;&amp;#160;It seems like arranged files assume you're using 4 spaces per tab and it turns your tabs into spaces. This isn't horrible, since you can use format document to format it back to how it should be, but I thought I'd let you know.&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=6</link>
      <author>bobdole</author>
      <pubDate>Wed, 02 Sep 2009 17:52:20 GMT</pubDate>
    </item>
    <item>
      <title>Sort override methods by base class</title>
      <description>&lt;p&gt;The subject says it all.&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=5</link>
      <author>bobdole</author>
      <pubDate>Wed, 02 Sep 2009 17:50:05 GMT</pubDate>
    </item>
    <item>
      <title>Arrange methods by execution order?</title>
      <description>&lt;p&gt;Hi! When applying NArrange on asp .net code, I would like an option to order the event handler methods to match the asp page lifecyckle. That is &lt;b&gt;Page_Init&lt;/b&gt; put before &lt;b&gt;Page_Load&lt;/b&gt; and so on. Or is it only me?&lt;/p&gt;</description>
      <link>http://narrange.net/narrangemojo/Forums/Thread.aspx?ItemID=2&amp;mid=3&amp;pageid=1&amp;thread=4</link>
      <author>Bror David</author>
      <pubDate>Fri, 28 Aug 2009 13:40:21 GMT</pubDate>
    </item>
  </channel>
</rss>