473,396 Members | 1,756 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

repost: headaches with formatting in VWD

The Smart Indenting "feature" is driving me absolutlely crazy in VWD.

Problem: VWD in Code View insists on tabbing a lot of my code over to it's
own liking and effects mainly my comments in the code.

First of all, I've searched the help files and searched forums.asp.net. I
can't seem to find a solution so I thought I'd try here. When I look at
Tools >> Options and look under Text Editor >> All Languages >> Tabs, it has
a subtle message on the right side stating "The indentation settings for
individual text formats conflict with each other.". Gee - thanks.

I have tried setting all languages the same and everything I can think of
and nothing stops it from scooting my comments over an extra 5-10 spaces.
Further more, when I select one of the choices under Indenting, mainly
"None", it never sticks. It always comes back to that message I stated
above. I can't seem to stop VWD from reformatting my code.

I've complete uninstalled it and reinstalled it an I still have the same
problem. Any pointers??

It turns this:

'Testing for a true condition
If X = 1 Then

'Do something
MyCommand()

'If it tests false then.....
Else
OtherCommand()

End If
into this:

'Testing for a true condition
If X = 1 Then

'Do something
MyCommand()

'If it tests false then.....
Else

OtherCommand()

End If

Mar 16 '06 #1
2 1083
What about

Tools > Options > Text Editor > Basic > VB Specific
Uncheck Pretty Listing (reformatting) of code

Ken
Microsoft MVP [ASP.NET]

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
The Smart Indenting "feature" is driving me absolutlely crazy in VWD.

Problem: VWD in Code View insists on tabbing a lot of my code over to it's
own liking and effects mainly my comments in the code.

First of all, I've searched the help files and searched forums.asp.net. I
can't seem to find a solution so I thought I'd try here. When I look at
Tools >> Options and look under Text Editor >> All Languages >> Tabs, it
has
a subtle message on the right side stating "The indentation settings for
individual text formats conflict with each other.". Gee - thanks.

I have tried setting all languages the same and everything I can think of
and nothing stops it from scooting my comments over an extra 5-10 spaces.
Further more, when I select one of the choices under Indenting, mainly
"None", it never sticks. It always comes back to that message I stated
above. I can't seem to stop VWD from reformatting my code.

I've complete uninstalled it and reinstalled it an I still have the same
problem. Any pointers??

It turns this:

'Testing for a true condition
If X = 1 Then

'Do something
MyCommand()

'If it tests false then.....
Else
OtherCommand()

End If
into this:

'Testing for a true condition
If X = 1 Then

'Do something
MyCommand()

'If it tests false then.....
Else

OtherCommand()

End If

Mar 17 '06 #2
And, for C#, try :

Tools > Options > Text Editor > C# > Tabs
and a bunch of options under Formatting.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Ken Cox - Microsoft MVP" <BA**********@hotmail.com> wrote in message
news:uj**************@TK2MSFTNGP14.phx.gbl...
What about

Tools > Options > Text Editor > Basic > VB Specific
Uncheck Pretty Listing (reformatting) of code

Ken
Microsoft MVP [ASP.NET]

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
The Smart Indenting "feature" is driving me absolutlely crazy in VWD.

Problem: VWD in Code View insists on tabbing a lot of my code over to it's
own liking and effects mainly my comments in the code.

First of all, I've searched the help files and searched forums.asp.net. I
can't seem to find a solution so I thought I'd try here. When I look at
Tools >> Options and look under Text Editor >> All Languages >> Tabs, it has
a subtle message on the right side stating "The indentation settings for
individual text formats conflict with each other.". Gee - thanks.

I have tried setting all languages the same and everything I can think of
and nothing stops it from scooting my comments over an extra 5-10 spaces.
Further more, when I select one of the choices under Indenting, mainly
"None", it never sticks. It always comes back to that message I stated
above. I can't seem to stop VWD from reformatting my code.

I've complete uninstalled it and reinstalled it an I still have the same
problem. Any pointers??

It turns this:

'Testing for a true condition
If X = 1 Then

'Do something
MyCommand()

'If it tests false then.....
Else
OtherCommand()

End If
into this:

'Testing for a true condition
If X = 1 Then

'Do something
MyCommand()

'If it tests false then.....
Else

OtherCommand()

End If


Mar 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Alan | last post by:
Hi there, Are there Excel charting gurus here?? If so then please read on... Sorry for the cross-post but I'm not familiar with the Excel groups. I've posted to asp.general because if I have...
5
by: R Reyes | last post by:
Hi, no one answered so I thought reposting would get this some attention... What is the best way to manipulate MSOffice programs? I understand that regular web pages do not have certain...
5
by: Stewart Gordon | last post by:
I have a few Sudoku puzzles on my site. http://www.stewartsplace.org.uk/mindbenders/ But adding extra columns and rows to separate the 3x3 blocks seems a rather kludgy approach, and the result...
3
by: Adam | last post by:
I've posted about this previously, but failed to receive a satisfactory response, so have included a code sample: I am trying to receive messages from an HTML viewer control in compact.net (c#),...
14
by: Steve McLellan | last post by:
Hi, Sorry to repost, but this is becoming aggravating, and causing me a lot of wasted time. I've got a reasonably large mixed C++ project, and after a number of builds (but not a constant...
4
by: mattmerc | last post by:
Hi all, This is a repost from a week or so ago. I'll try to reformat so it is more clear. I am looking for something in asp .net / vb .net that will export a datagrid to Excel, BUT will save...
1
by: Jeffrey Frabutt | last post by:
Sorry about the repost... but my original post had funky characters that was causing it to get truncated. I've got a rather simple custom web control that has an object delcared as...
1
by: HJ | last post by:
In Access 2000 (ServiceRelease 1) I have a subform in Datasheet view. On one field I have applied conditional formatting: the back color is set to red, based on some condition. The problem is...
4
by: =?Utf-8?B?U2ltb24gVGFtbWFu?= | last post by:
Hi, Re-posting this as the formatting on the other post is terrible. If I inherit from a control with the following OnPaint override and draw in the DoPaint method then i get odd UI results...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.