How to delete the line from Console of devtools

4,226 views
Skip to first unread message

kimph...@yahoo.com

unread,
Nov 22, 2013, 7:55:12 PM11/22/13
to google-chrome-...@googlegroups.com
Hi All,
I am new to devtools and I don't know how to delete the line from Console of devtools
Thanks,
Joanne

Vsevolod Vlasov

unread,
Nov 22, 2013, 7:59:26 PM11/22/13
to Google Chrome Developer Tools

kimph...@yahoo.com

unread,
Nov 22, 2013, 8:05:41 PM11/22/13
to google-chrome-...@googlegroups.com
Clear() is clear everything in the console. Just want to delete few lines only in this console

Vsevolod Vlasov

unread,
Nov 22, 2013, 8:11:29 PM11/22/13
to Google Chrome Developer Tools
It is not possible to delete some specific lines from console.
You could try filters: It is possible to filter by text and log level.
You could use search as well.


kimph...@yahoo.com

unread,
Nov 22, 2013, 8:19:30 PM11/22/13
to google-chrome-...@googlegroups.com
So for example I am in the line #5 in console. There is no way that I can delete line 2 and 4 text in the console. If this is the case then if I make any mistake/error then I have the clear all the re-type again. This is not good at all because if I already have 100 lines of code on the console and just realized that line number 3 has some typo then I have to clear all 100 lines on console and re-type them again. Tedious

PhistucK

unread,
Nov 23, 2013, 2:29:09 AM11/23/13
to Google Chrome Developer Tools
Well, I am not sure this would help you reach your eventual goal, but, generally, you can undock the Developer Tools feature and press Control + Shift + J (for example, on Windows). That will open a second Developer Tools window that would inspect the first Developer Tools window (it is mainly comprised of HTML, CSS and JavaScript). Then you can inspect the console elements and remove the ones you want to drop.

Does that work for you?


PhistucK


--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/2c0e9078-6c13-418b-90b7-613dfbb24560%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

John J Barton

unread,
Nov 23, 2013, 12:38:07 PM11/23/13
to Google Chrome Developer Tools

Paul Irish

unread,
Nov 24, 2013, 8:25:33 PM11/24/13
to google-chrome-...@googlegroups.com


On Friday, November 22, 2013, wrote:
So for example I am in the line #5 in console. There is no way that I can delete line 2 and 4 text in the console. If this is the case then if I make any mistake/error then I have the clear all the re-type again. This is not good at all because if I already have 100 lines of code on the console and just realized that line number 3 has some typo then I have to clear all 100 lines on console and re-type them again. Tedious


As John mentioned, you want to use Snippets. It's perfect for what you're trying to do:


 

Erica Banasihan

unread,
Nov 25, 2013, 9:37:06 PM11/25/13
to google-chrome-...@googlegroups.com, kimph...@yahoo.com
Hi,
I also have a question about the console. Is there a way on how to increase the font size on the console tab? 
For better viewing. 
Thanks!
Erica

PhistucK

unread,
Nov 26, 2013, 2:58:42 AM11/26/13
to Google Chrome Developer Tools, kimph...@yahoo.com
You can add custom CSS to your user data directory\Custom Stylesheets\Custom.css, or use Control + + when the Developer Tools feature is undocked.


PhistucK


--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.

Vsevolod Vlasov

unread,
Nov 26, 2013, 6:08:53 AM11/26/13
to Google Chrome Developer Tools

Ctrl-+ zoom should work in docked mode as well.

Erica Banasihan

unread,
Nov 26, 2013, 6:58:00 PM11/26/13
to google-chrome-...@googlegroups.com, vse...@google.com
Thank you guys!!! :)

Reply all
Reply to author
Forward
0 new messages