librelist archives

« back to archive

回复: [flask] [off-topic] IDE for Flask, Django, Python

回复: [flask] [off-topic] IDE for Flask, Django, Python

From:
樱宝宝
Date:
2013-02-22 @ 07:20
I use vim as python IDE.This may help you to  turn vim into a python IDE easily.

http://sontek.net/blog/detail/turning-vim-into-a-modern-python-ide




------------------ 原始邮件 ------------------
发件人: "Anthony Ford"; 
发送时间: 2013年2月22日(星期五) 中午12:20
收件人: "flask"; 
主题: Re: [flask] [off-topic] IDE for Flask, Django, Python



I also second Vim. With a good vimrc and some decent plugins 
(NerdCommentor, the Jinja2 plugin, Syntastic, and a good color scheme) 
your all set. 

But there is a bit of a learning curve. Well worth it though. I don't feel
nearly as productive in non-vim text environments. If only I could get Vim
bindings in Gmail... 
 

Anthony Ford,
KF5IBN,
Research Assistant,Center for Advanced Radio Astronomy,
University of Texas at Brownsville
ford.anthonyj@gmail.com
 
 

On Tue, Feb 19, 2013 at 2:37 AM, Luis Fernando Barrera 
<luisfernando@informind.com> wrote:
 Sorry for this off-topic question.


 I wonder which tools do you use to write Flask, Django or Python Apps. 
 

I currently use geany in Mint, it's completion capabilities are not 
something very impressive. I don't mind really. I just wonder if there's 
something better for the job.
 

Thanks,


Luis Fernando Barrera
 luisfernando@informind.com

[flask] [off-topic] IDE for Flask, Django, Python

From:
Trey Long
Date:
2013-02-22 @ 14:20
A quick note about all the vim suggestions:

vim is extremely capable, and customizable and has a few unique advantages
over a PyCharm like IDE (remote access?). But you should know that you 
would first have to learn vim, and then learn to customize it to give you 
features for Python and then you would have something equating PyCharm, 
Eclipse or whatever.

If you want a Python IDE out of the box PyCharm (and other suggestions) 
will work beautifully with pdb support and all the other stuff with almost
no fiddling.

If you like modal editors, PyCharm at least has a vim style plugin that 
allows you to use it in the same way as vim.

If you want the nerd cred. for learning and using vim, it's a great 
suggestion. If you need something right now, it may be less than optimal 
because of the learning curve.

Trey

On Feb 22, 2013, at 2:20 AM, 樱宝宝 <xuanmingyi@qq.com> wrote:

> I use vim as python IDE.This may help you to  turn vim into a python IDE easily.
> 
> http://sontek.net/blog/detail/turning-vim-into-a-modern-python-ide
> 
> 
> ------------------ 原始邮件 ------------------
> 发件人: "Anthony Ford";
> 发送时间: 2013年2月22日(星期五) 中午12:20
> 收件人: "flask";
> 主题: Re: [flask] [off-topic] IDE for Flask, Django, Python
> 
> I also second Vim. With a good vimrc and some decent plugins 
(NerdCommentor, the Jinja2 plugin, Syntastic, and a good color scheme) 
your all set. 
> 
> But there is a bit of a learning curve. Well worth it though. I don't 
feel nearly as productive in non-vim text environments. If only I could 
get Vim bindings in Gmail... 
> 
> Anthony Ford,
> KF5IBN,
> Research Assistant,
> Center for Advanced Radio Astronomy,
> University of Texas at Brownsville
> ford.anthonyj@gmail.com
> 
> 
> On Tue, Feb 19, 2013 at 2:37 AM, Luis Fernando Barrera 
<luisfernando@informind.com> wrote:
> Sorry for this off-topic question.
> 
> I wonder which tools do you use to write Flask, Django or Python Apps. 
> 
> I currently use geany in Mint, it's completion capabilities are not 
something very impressive. I don't mind really. I just wonder if there's 
something better for the job.
> 
> Thanks,
> 
> Luis Fernando Barrera
> luisfernando@informind.com
> 
> 

Re: [flask] [off-topic] IDE for Flask, Django, Python

From:
Shawn Milochik
Date:
2013-02-22 @ 22:21
I agree there's a learning curve, but technically you don't need any 
customizations to have tabs, multiple files open, multiple windows, 
syntax highlighting, auto-completion (not of Python syntax -- just from 
within the file). And that's just in the command-line version. I've used 
TextMate, Sublime Text, and Komodo Edit and liked them all. But vim is 
the most widely-available and requires less customization than the 
others to get working if you've just learned a few commands. It's a good 
tool to have. I'm not saying anyone using an IDE should stop, or that 
they're not hardcore. Just throwing in my 2¢ USD.

Technically, here's all I really need in my .vimrc to "customize" it to 
write Python code. I have more, but could work with just this.

set tabstop=4
set shiftwidth=4
set expandtab

"F2 and F3 to move to next/previous buffer
map <F2> :bprev<CR>
map <F3> :bnext<CR>

syntax on


Shawn