function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SumitkSumitk 

Open lightning element using Developer Console

I have deployed the source of LWC component using sfdx force:source:push command and I need to open my LWC component in Developer Console defined like 
export default class GanttView extends LightningElement
How can I edit it using Developer Console?
Best Answer chosen by Sumitk
SwethaSwetha (Salesforce Developers) 
HI Sumit,

You cannot view Lightning Web Components in the developer console.

If you want to retrieve the code there are few options.
Using vs code (this is the recommended way for development).
Using salesforce CLI - (Internally used by VS code).
Using Ant migration tools
Using Workbench and package.xml file.

For LWC development, you need to set up your developer tools 

Reference https://salesforce.stackexchange.com/questions/288701/how-to-open-lwc-without-vscode-salesforce

There is an idea as well for the same for which salesfoce product team has confirmed that "the future of web-based development will be Code Builder. ".
Developer console will not have any new features added to support it.

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you

All Answers

SwethaSwetha (Salesforce Developers) 
HI Sumit,

You cannot view Lightning Web Components in the developer console.

If you want to retrieve the code there are few options.
Using vs code (this is the recommended way for development).
Using salesforce CLI - (Internally used by VS code).
Using Ant migration tools
Using Workbench and package.xml file.

For LWC development, you need to set up your developer tools 

Reference https://salesforce.stackexchange.com/questions/288701/how-to-open-lwc-without-vscode-salesforce

There is an idea as well for the same for which salesfoce product team has confirmed that "the future of web-based development will be Code Builder. ".
Developer console will not have any new features added to support it.

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
This was selected as the best answer
adil ansari 12adil ansari 12
Found an amazing Chrome Extension, you can get an idea of its usage here (https://salesforcebitsandbytes.com/how-to-open-lightning-web-component-without-vs-code-in-salesforce/).