Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-06-2005
Edward Bishop Edward Bishop is offline
Registered User
 
Name: Edward
Organization: Sony
Project: Automated Test
 
Join Date: Oct 2005
Location: San Diego
Posts: 31
Use spaces instead of tabs

I noticed, because the indentation was all wrong in my editor,
that some of your source code uses tabs instead of spaces.
I recommend spaces instead of tabs. Most editors/IDEs can be
configured to do that.
__________________
Edward
Reply With Quote
  #2 (permalink)  
Old 12-06-2005
ffmpeg4nmm's Avatar
ffmpeg4nmm ffmpeg4nmm is offline
Registered User
 
Name: Smart Song
Organization: fastreaming network multimedia Ltd.
Project: CDMA
 
Join Date: Jun 2005
Posts: 11
I strongly support this idea!
Reply With Quote
  #3 (permalink)  
Old 12-07-2005
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 909
It's not impossible to do, but extra work for us to police this all the time. I suggest piping the source through "expand -t8". That will do the job nicely

Also, for Visual Studio, you can set the indent level to 4, and leave the tab setting at 8, and the source will display correctly.

Cheers,

Michi.

Last edited by michi : 12-07-2005 at 05:40 PM.
Reply With Quote
  #4 (permalink)  
Old 01-22-2007
Edward Bishop Edward Bishop is offline
Registered User
 
Name: Edward
Organization: Sony
Project: Automated Test
 
Join Date: Oct 2005
Location: San Diego
Posts: 31
Hi Michi,

My current project uses source from multiple sources, including Ice. It doesn't make sense for me to change my IDE settings depending on where I am in the call stack!

Also, I'm not sure what you mean by "police all the time". It's your source code, presumably you can keep it TAB-free!

All the best,
Edward
__________________
Edward
Reply With Quote
  #5 (permalink)  
Old 01-22-2007
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
Please see this thread. (I don't know yet when we will switch--it's not exactly a high priority issue...)
Reply With Quote
  #6 (permalink)  
Old 01-24-2007
Edward Bishop Edward Bishop is offline
Registered User
 
Name: Edward
Organization: Sony
Project: Automated Test
 
Join Date: Oct 2005
Location: San Diego
Posts: 31
That's great! Just to be clear though, it isn't just the generated code that I have trouble reading (in fact I don't expect that to be readable), it is the Ice source code itself.

All the best,
Edward
__________________
Edward
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Patch #8 for Ice 3.1.0: support for paths with spaces in -I option benoit Patches 2 01-05-2007 05:50 AM
Patch to handle spaces in filenames for slice compilers acbell Patches 1 04-26-2005 06:04 PM
Pre-Build needs no spaces! Wayetender Bug Reports 6 08-17-2004 07:40 PM


All times are GMT -4. The time now is 07:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.