To send a few lines you have selected, it’s Control-comma then l. So, if you want to have all your variables and functions in your new REPL, create one and hit Tools > SublimeREPL > Eval in REPL > File, or as I commonly do hit Control-comma then f. SublimeREPL also allows you to quickly send code over to your REPL with quick commands. Select which virtual environment I want to activate.vir To select the SublimeREPL: python - virtualenv command.So that all I need to do to check some thoughts is hit: In particular, I’m thankful that it has excellent support for virtualenv environments. The SublimeREPL package is fantastic to have around, as it allows you to trivially spawn a REPL environment for pretty much any language you have installed on your machine. I know there are more things anaconda can do, but I haven’t gotten to them yet. In order for anaconda to provide its help to the unique packages in each project, you will need to add a "python_interpreter" key and value to your project settings. Now, when you install anaconda, remember to add an additional configuration to your. When you finish typing, it’ll lint your code against PEP8 The third thing I find incredibly useful is it’s linting property. I find this particularly useful when working with a new open source module. Probably the one I use most often is its auto-completion function that enhances Sublime’s auto-completion window with greater intelligence.įrom helping import modules, to calling their functions, providing parameter options, and popping up function documentation, it can be a big help right when you need it.Īlso useful its its enhanced Goto definition functionality, which does what you expect, and does a better job routing you to the correct python function than Sublime’s native functionality. The Anaconda package gives you a number of helpful tools for python development. As you prepare to try Sublime for python development, I would suggest adding these packages to increase your enjoyment: Anaconda One great feature not listed in Daniel’s article is how Sublime supports so many languages. I could list dozens of reasons why you should give it a try, but Daniel Bader has done a great job. Given that inspiration, I turned to Sublime Text and the myriad of how-to articles and videos for it, and within a month it was my favorite editor. I came across an article that encouraged me to invest in my coding tools that is to pick one program and dive deep into it, find out what it’s good for, and try to enjoy it to its maximum, before looking to other tools. With all my jumping around, I was not really happy with my experience in any of them. I started jumping between Visual Studio, Notepad++, Eclipse, and other programs. net web sites and felt like I was fighting Microsoft’s Visual Studio to get my work done. Five or so years ago, I was frustrated by my coding environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |