Sublime Forum

Sublime Text 2 Python Built In Function

#1

Note: I am a advanced VBA programmer switching to Python, I am a starter in Python and is using Sublime Text 2 in my learning.

How do I enable the following?

x=‘california’

x.

After the dot, I would like to see the pop up where it displays the available python built in functions like

x.capitalize()
x.lower()
x.upper()

etc.

When I click on Preference and Browse packages, then click on Python folder to see available Sublime Python packages, I have no idea which is the one I am looking for nor do I know how to install any packages. I need major help please.

0 Likes

#2

Is there any specific reason that you’re using Sublime 2 and not Sublime 3? Assuming you don’t already have a license and you’re just setting started with Sublime, I think that the recommended version of Sublime is version 3 at this point; it’s the default version to download from the Sublime download page and Sublime 2 is no longer actively developed. Although it mentions that it’s a beta, it’s pretty solid (and has been in beta for a couple of years at least, I think).

In any case, the first and most important package to install with Sublime (either version) is PackageControl. It’s easy to install (that link is directly to the install page; be sure to select the correct version of Sublime). The right side of the page has a link to documentation on how to use it to install a package.

I can’t say for sure because I don’t use it, but I believe that the package that you want to install is SublimeCodeIntel. This video snippet shows it being installed and used for JavaScript, but Python is also supported and should work similarly.

3 Likes

#3

Sublime Text 2 is the only version that is approved for development purposes at my company. Therefore, I am utilizing Sublime Text 2 to automate data manipulation/transformation tasks containing 1m+ rows of information. Your input helped a bunch, the problem I am facing now is that my computer is blocking the SublimeCodeIntel package, I will have IT bypass this. Thank you, OdatNurd!

1 Like