Jump to content

[ Dead Download Link ] Coding in Python in Visual Studio [ We Need You ]


Recommended Posts

  • Premium

Hi everyone,
 
Microsoft 3 years ago in 2011 released the first version of the Python Tools for Visual Studio and they are still working on it,. Now everybody thinking how is it better to use Visual Studio instead of Notepad++? My opinions are:

  • Better Syntax highlighting
  • IntelliSense
  • Many useful options like these: Go To Definition, Find All References
  • Visual Studio GUI is amazing, It's dream to work with it

 

Example of the Syntax highlighting:
 
7pQlU.png
 
Example of the Find All References:
 
7pQnI.png
 
Example of the IntelliSense:
 
7pPrN.png
 
How to download & install:
 
Go to the Python Tools for Visual Studio Codeplex page and follow the tutorial or just follow these steps:
 
1. Download Visual Studio, Express version does not supported!
2. Install PTVS for for your Visual Studio version: 2010, 2012, 2013
3. Install Python 2.7

That's all, now you are ready to import the py files:
 
Extract root, locale and uiscript or anything you wan't and separate them to folders. Example:
 
7pPMa.png
 
Open Visual Studio and create a new project using the "From Existing Python code" option.
 
a1_2014_3_10_3j8k9ti56f.jpg
 
On the next window add the path of the 3 folders.
 
7pQ2c.png
 
Now click on Next and select Python 2.7 from the dropdown list.
 
7pQ54.png
 
That's all, now Visual Studio creating your new project with the added files.
 
7pQ8O.png


If you have any question or suggestion, please just reply to this topic.
 
Kind Regards,
Sanchez

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
  • Love 24
  • Bot

Im using this for months now and i mus say it doesnt support the korean letter very well, but once you convert them it works fine.

Thanks for mentioning this, there also new versions for 2k13 and early access alphas.

Kind regards

MartPwnS

english_banner.gif

I still love the way Sublime Text handles projects and all the commands and shortcuts you have there. I do agree those features you point out are quite useful but I still prefer ST (Over Notepad++ as well). Give it a try, it's awesome :P

  • 2 weeks later...
  • 3 weeks later...
  • 1 month later...

You didn't change it to the right encoding. Try with the korean ones, I don't recall which one was it but one works

 

Yeah i know that there is an error with encoding, but my question was where i can change the encoding type.

Ah, sorry for not understanding then.

 

Right click on the file > Open with.

You'll see something like

 

bzXC6Xf.png

 

After clicking on the desired one and hitting ok, you will get prompted for the encoding. Auto detect doesn't work. You want either Korean EUC or Korean ISO, one of the two worked, the other didn't (If I remember correctly Korean (949) was not working properly).

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1

Ah, sorry for not understanding then.

 

Right click on the file > Open with.

You'll see something like

 

bzXC6Xf.png

 

After clicking on the desired one and hitting ok, you will get prompted for the encoding. Auto detect doesn't work. You want either Korean EUC or Korean ISO, one of the two worked, the other didn't (If I remember correctly Korean (949) was not working properly).

 

worked fine for me =) thanks

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • 1 month later...

Forget VisualStudio, it's just shit, except for C++, there is nothing better (Writing a Program with Eclipse is a pain, except for Java (forgot eclipse, it's good for java, but java is too shit))

For Python there is only one real and good IDE: http://www.jetbrains.com/pycharm/

 

 

  • 3 months later...
  • 1 year later...
  • 4 months later...
  • 5 years later...
  • 4 months later...
On 3/10/2014 at 7:43 AM, Sanchez said:

Hi everyone,
 
Microsoft 3 years ago in 2011 released the first version of the Python Tools for Visual Studio and they are still working on it,. Now everybody thinking how is it better to use Visual Studio instead of Notepad++? My opinions are:

  • Better Syntax highlighting
  • IntelliSense
  • Many useful options like these: Go To Definition, Find All References
  • Visual Studio GUI is amazing, It's dream to work with it

 

Example of the Syntax highlighting:
 
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
 
Example of the Find All References:
 
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
 
Example of the IntelliSense:
 
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
 
How to download & install:
 
Go to the Python Tools for Visual Studio Codeplex page and follow the tutorial or just follow these steps:
 
1. Download

Hidden Content

  • Give reaction to this post to see the hidden content.

, Express version does not supported!
2. Install PTVS for for your Visual Studio version: 2010, 2012, 2013
3. Install Python 2.7

That's all, now you are ready to import the py files:
 
Extract root, locale and uiscript or anything you wan't and separate them to folders. Example:
 
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
 
Open Visual Studio and create a new project using the "From Existing Python code" option.
 
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
 
On the next window add the path of the 3 folders.
 
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
 
Now click on Next and select Python 2.7 from the dropdown list.
 
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
 
That's all, now Visual Studio creating your new project with the added files.
 
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif


If you have any question or suggestion, please just reply to this topic.
 
Kind Regards,
Sanchez

 

Link dowland

Edited by Metin2 Dev
Core X - External 2 Internal

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.