Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4602222
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:57:00+00:00 2026-05-21T23:57:00+00:00

I just downloaded NArrange (v0.2.9) and ran it. I noticed it moved the using

  • 0

I just downloaded NArrange (v0.2.9) and ran it. I noticed it moved the using statements inside the namespace declaration which I didn’t want.

I created a copy of DefaultConfig.xml and then, using the NArrange Configuration Editor I changed the Formatting-> Using directives-> “Move To” element to “File” instead of the default value of “Namespace”.

Upon running the tool (I did not forget to specify the /c option, providing the path to my new config.xml file) it does place the using statements outside the namespace declaration, however it also places them above the header! Not what I want.

Note that the figure in the documentation titled “Figure: Header Region and Sorted Using Directives” indicates the header being above the using statements.

(I tried to tag this “NArrange” but the tag doesn’t exist and I have less than 1500 rep, and I had to pick one so I went with visual-studio-2008)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:57:01+00:00Added an answer on May 21, 2026 at 11:57 pm

    I was able to reproduce the problem you were seeing by arranging a file with the “Move To – Namespace” option then changing the Using Directives setting to “Move To – File” and re-arranging. However, one thing I noticed is that if after changing the setting then arranging, if you then move the header back to to top of your code file, it will stay at the top of the file with the next NArrange run.

    Basically, it seems that there is an issue when moving using statements from the namespace level to the file level.

    Could you confirm that if move your header to the top of the file with the “Move To – File” setting that it preserves the behavior you were expecting?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just downloaded Quartz.Net, read the documentation which is out of date and have ended
I just downloaded the Springsource Tool Suite, and I created a simple bean configuration
I just downloaded and ran the boost installer for version 1.42 (from boostpro.com), and
I just downloaded this code in which it says in the manual that the
I just downloaded Scrapy (web crawler) on Windows 32 and have just created a
I just downloaded jasperreports server (community edition) which uses postgresql. (there is no option
I just downloaded Grails 2.0.1. Created a new project and then tried adding the
I just downloaded the STL source code and I noticed all the definition for
Just downloaded libcurl and built it on Windows, using VC2008. It came with a
I just downloaded the Java ME Platform SDK 3.0 and created my frist Midlet

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.