in Education by
I use eclipse (cdt) for c++ projects. It contains some test scripts in python. Is there anyway I could get syntax highlighting and auto completion(if possible) when viewing a python script? Or should I load the complete python perspective? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
You can just open your python file in the C/C++ perspective and get full syntax highlighting and auto completion. If that does not work for you, then perhaps you don't have PyDev installed. Find it and install it using Help > Eclipse Marketplace. If that still does not work for you (if you double-click it the file is opened as plain text, or gets executed in a command shell) then perhaps somehow the wrong editor got associated to it. Right click the file, then select Open With > Python Editor. You'll need to do this once: Eclipse will remember your choice. Note: You can open any file in any perspective, and the corresponding editor will always open for you. A perspective is just a grouping of views that should be helpful for you in the given context. It does not enable or disable any additionally installed software.

Related questions

0 votes
    I want to build an executable to distribute to people without python installed on their machines. Is there ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 23, 2022 in Education by JackTerrance
0 votes
    I want to build an executable to distribute to people without python installed on their machines. Is there ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 21, 2022 in Education by JackTerrance
0 votes
    I am using Eclipse with Pydev and googleAppengine. I have python 2.7 installed. I am trying to run ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 19, 2022 in Education by JackTerrance
0 votes
    Can someone please tell me how to import a jar file in eclipse IDE? Select the correct answer from above options...
asked Jan 21, 2022 in Education by JackTerrance
0 votes
    The slide layout function is found in the _ menu (a)format (b)edit (c) tools (d) slideshow Select the correct answer from above options...
asked Dec 11, 2021 in Education by JackTerrance
0 votes
    Tha slide layout function is found in the _ menu (a)format (b)edit (c) tools (d) slideshow Select the correct answer from above options...
asked Dec 11, 2021 in Education by JackTerrance
0 votes
    How can we make a UITextField move up when the keyboard is present - on starting to edit?...
asked Mar 9, 2021 in Technology by JackTerrance
0 votes
    I want to load an image from my computer into 2D Graphics so that I can edit it afterwards and ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    True or false if a user has read permission on a file, he she can edit the content of the file Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
0 votes
    How many types of exploits are there based on their nature from hacking's perspective? (a) 4 (b) 3 (c) 2 ... , Cyber Security questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 4, 2021 in Education by JackTerrance
0 votes
    How does Splunk determine 1 day, from a licensing perspective?...
asked Oct 31, 2020 in Technology by JackTerrance
0 votes
    what happens when you click on the following in costume tab:edit button, copy button, x button Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    what happens when you click on the following in costume tab:edit button, copy button, x button Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    what happens when you click on the following in costume tab:edit button, copy button, x button Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    How can I remove emojis that start with '\x' when reading a csv file using pandas in Python? The ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 14, 2022 in Education by JackTerrance
...