Google Groups Home
Help | Sign in
Visual Studio Intellisense - Autocomplete and Whitespace
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Sir.Deenicus@gmail.com  
View profile
 More options Mar 22, 9:33 am
From: "Sir.Deeni...@gmail.com" <Sir.Deeni...@gmail.com>
Date: Sat, 22 Mar 2008 06:33:58 -0700 (PDT)
Local: Sat, Mar 22 2008 9:33 am
Subject: Visual Studio Intellisense - Autocomplete and Whitespace
Perhaps I am doing something wrong but it seems that auto-complete
(and parsing too, sometimes i get false negatives before a successful
build) does not work properly if you use the indentation style to
organize your code.

It works perfectly if you use braces but I much prefer using
whitespace to braces. Any suggestions?

Cheers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sir.Deenicus@gmail.com  
View profile
 More options Mar 22, 10:10 am
From: "Sir.Deeni...@gmail.com" <Sir.Deeni...@gmail.com>
Date: Sat, 22 Mar 2008 07:10:59 -0700 (PDT)
Local: Sat, Mar 22 2008 10:10 am
Subject: Re: Visual Studio Intellisense - Autocomplete and Whitespace
Right so it does work with indentation after all. The autocomplete
problem seems to be caused by some incompatibilty with indentation and
the parser. It seems to be expecting semicolons after every statement
which is not required in indent based code. Thus the code following
the statement with no semicolon will be crippled by the error and not
get auto-complete feature.

So for example this does not work

myfunction()
    def foo = fooClass() <- exepecting ;
    foo. [ auto-complete expecting semicolon above, broke and gives
when, with, blah]

while this does:

myfunction()
    def foo = fooClass() ; foo. [ auto-complete is fine lists methods
in fooClass]

as does this

myfunction()
    foo. [ auto-complete is fine lists methods in fooClass, say foo
was defined elsewhere]


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ivan A Eryshov  
View profile
 More options Mar 22, 2:15 pm
From: "Ivan A Eryshov" <ivan.erys...@gmail.com>
Date: Sat, 22 Mar 2008 22:45:01 +0430
Local: Sat, Mar 22 2008 2:15 pm
Subject: Re: [nem-forum] Re: Visual Studio Intellisense - Autocomplete and Whitespace
You are right, an identation style not supported by the VS integration.

On 22/03/2008, Sir.Deeni...@gmail.com <Sir.Deeni...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VladD2  
View profile
 More options Mar 22, 2:15 pm
From: VladD2 <v...@rsdn.ru>
Date: Sat, 22 Mar 2008 21:15:17 +0300
Local: Sat, Mar 22 2008 2:15 pm
Subject: Re: [nem-forum] Visual Studio Intellisense - Autocomplete and Whitespace
2008/3/22, Sir.Deeni...@gmail.com <Sir.Deeni...@gmail.com>:

>  Perhaps I am doing something wrong but it seems that auto-complete
>  (and parsing too, sometimes i get false negatives before a successful
>  build) does not work properly if you use the indentation style to
>  organize your code.

Yes. It depend on implementation of indentation style. See
http://nemerle.org/bugs/view.php?id=792

I think we need add new file extension, for example .nident (or .ni).
File with this  extension should be parsed as indentation style.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sir.Deenicus@gmail.com  
View profile
 More options Mar 30, 3:08 pm
From: "Sir.Deeni...@gmail.com" <Sir.Deeni...@gmail.com>
Date: Sun, 30 Mar 2008 12:08:19 -0700 (PDT)
Local: Sun, Mar 30 2008 3:08 pm
Subject: Re: Visual Studio Intellisense - Autocomplete and Whitespace
Its not too big a deal. putting a semicolon ; on the line of code
before allows me to have auto complete on inferred types and all that
good stuff. Afterwards I just take it off. heh.

Something else interesting though minor is that if you make a macro
project and then have another project add it as a reference in your
solution then that project loses all of the VS integration abilities
including; auto complete, error detection, syntax highlighting, scope
collapsing,.. .

Workarounds are:

- Remove referenced macro project every time before opening files in
IDE for Dependant project <- really annoying

- Or what i do, which is have the project be in the same solution but
add a reference to the binary on disk instead of to the project.

On Mar 22, 7:15 pm, VladD2 <v...@rsdn.ru> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VladD2  
View profile
 More options Mar 31, 7:55 am
From: VladD2 <v...@rsdn.ru>
Date: Mon, 31 Mar 2008 15:55:10 +0400
Local: Mon, Mar 31 2008 7:55 am
Subject: Re: [nem-forum] Re: Visual Studio Intellisense - Autocomplete and Whitespace
2008/3/30, Sir.Deeni...@gmail.com <Sir.Deeni...@gmail.com>:

>  Something else interesting though minor is that if you make a macro
>  project and then have another project add it as a reference in your
>  solution then that project loses all of the VS integration abilities
>  including; auto complete, error detection, syntax highlighting, scope
>  collapsing,.. .

You should only recompile solution.

>  - Or what i do, which is have the project be in the same solution but
>  add a reference to the binary on disk instead of to the project.

Use project reference instead of dll reference.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google