Jump to content
×
×
  • Create New...

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


Sanchez

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
Link to comment
Share on other sites

  • 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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 1 month later...
  • 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
Link to comment
Share on other sites

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Metin2 Dev Github
  • Activity

    1. 6

      Owsap Productions

    2. 11

      BUG SAFEBOX disappear stacks ..

    3. 2

      Error no member named SetcCreateTime in Citem

    4. 2

      Need some help with effect slot on pickup system

    5. 1

      GF Pet system "x" level / percent

    6. 1

      disable quest esc

    7. 2

      Navicat Premium 16.1.3 x64

    8. 2

      Join the Metin2 Dev team

    9. 2

      Error no member named SetcCreateTime in Citem

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.