indentation of 3<space> instead of 4

View: New views
4 Messages — Rating Filter:   Alert me  

indentation of 3<space> instead of 4

by Cedric BRINER :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I'd like to have the ability to edit my code with indentation of 3
<space> instead of 4.

And it, will be very interesting if pydev could allow me to save it with
4<space> but edit it with 3<space>. Which will help me, when importing
code or exporting it.

I've heard of such ability to have a hook on vim, and I'll be glad to
hear to do such things with eclipse and or pydev.
http://www.vim.org/htmldoc/autocmd.html#BufRead
http://www.vim.org/htmldoc/autocmd.html#BufWrite


--

Cedric BRINER
Geneva - Switzerland

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
pydev-code mailing list
pydev-code@...
https://lists.sourceforge.net/lists/listinfo/pydev-code

Re: indentation of 3<space> instead of 4

by tonyb_82 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

In Eclipse..

Window -> Preferences -> Pydev-> Tab length.

The default is 4, but you can change it to whatever you like.

Regards,
Tony.

On Fri, Feb 6, 2009 at 1:50 PM, cedric briner <work@...> wrote:
Hi,
I'd like to have the ability to edit my code with indentation of 3
<space> instead of 4.

And it, will be very interesting if pydev could allow me to save it with
4<space> but edit it with 3<space>. Which will help me, when importing
code or exporting it.

I've heard of such ability to have a hook on vim, and I'll be glad to
hear to do such things with eclipse and or pydev.
http://www.vim.org/htmldoc/autocmd.html#BufRead
http://www.vim.org/htmldoc/autocmd.html#BufWrite


--

Cedric BRINER
Geneva - Switzerland

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
pydev-code mailing list
pydev-code@...
https://lists.sourceforge.net/lists/listinfo/pydev-code


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
pydev-code mailing list
pydev-code@...
https://lists.sourceforge.net/lists/listinfo/pydev-code

Re: indentation of 3<space> instead of 4

by Frédéric Degraeve-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Do you know if it is possible to delete automatically spaces at the
end of the lines when the file is saved with eclipse or pydev?

Thank you
Frédéric

On Fri, Feb 6, 2009 at 4:02 PM, Tony Blundell <tonyblundell@...> wrote:

> Hi there,
>
> In Eclipse..
>
> Window -> Preferences -> Pydev-> Tab length.
>
> The default is 4, but you can change it to whatever you like.
>
> Regards,
> Tony.
>
> On Fri, Feb 6, 2009 at 1:50 PM, cedric briner <work@...> wrote:
>>
>> Hi,
>> I'd like to have the ability to edit my code with indentation of 3
>> <space> instead of 4.
>>
>> And it, will be very interesting if pydev could allow me to save it with
>> 4<space> but edit it with 3<space>. Which will help me, when importing
>> code or exporting it.
>>
>> I've heard of such ability to have a hook on vim, and I'll be glad to
>> hear to do such things with eclipse and or pydev.
>> http://www.vim.org/htmldoc/autocmd.html#BufRead
>> http://www.vim.org/htmldoc/autocmd.html#BufWrite
>>
>>
>> --
>>
>> Cedric BRINER
>> Geneva - Switzerland
>>
>>
>> ------------------------------------------------------------------------------
>> Create and Deploy Rich Internet Apps outside the browser with
>> Adobe(R)AIR(TM)
>> software. With Adobe AIR, Ajax developers can use existing skills and code
>> to
>> build responsive, highly engaging applications that combine the power of
>> local
>> resources and data with the reach of the web. Download the Adobe AIR SDK
>> and
>> Ajax docs to start building applications
>> today-http://p.sf.net/sfu/adobe-com
>> _______________________________________________
>> pydev-code mailing list
>> pydev-code@...
>> https://lists.sourceforge.net/lists/listinfo/pydev-code
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> pydev-code mailing list
> pydev-code@...
> https://lists.sourceforge.net/lists/listinfo/pydev-code
>
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
pydev-code mailing list
pydev-code@...
https://lists.sourceforge.net/lists/listinfo/pydev-code

Re: indentation of 3<space> instead of 4

by Fabio Zadrozny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Feb 6, 2009 at 1:25 PM, Frédéric Degraeve
<frederic.degraeve@...> wrote:
> Hello,
>
> Do you know if it is possible to delete automatically spaces at the
> end of the lines when the file is saved with eclipse or pydev?

Pydev does not have that support builtin, but there's another plugin
that can do it: http://andrei.gmxhome.de/anyedit/index.html

Cheers,

Fabio

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
pydev-code mailing list
pydev-code@...
https://lists.sourceforge.net/lists/listinfo/pydev-code