Questions tagged [chrome-dev-editor]

Chrome Dev Editor (CDE) is a developer tool for building apps on the Chrome platform - Chrome Apps and Web Apps.

Chrome Dev Editor (CDE) is a developer tool for building apps on the Chrome platform - Chrome Apps and Web Apps. CDE has support for writing applications in JavaScript or Dart, and has Polymer templates to help you get started building your UI. CDE also has built-in support for Git.

https://github.com/dart-lang/chromedeveditor

30 questions
14
votes
3 answers

Unable to Live Edit Javascript in Chrome Developer Tools

I have done this a million times, i.e open the javascript file in the "Sources" tab, edit and hit CTRL+S to save it, upon which Chrome would confirm the same with a "Recompilation and Update Succeeded". But I can no longer do this! There is no…
9
votes
2 answers

REST API Testing: How to get response using Google Chrome developer tools?

I'm very new to API testing. I'm trying to make use of Google Chrome's developer tools to understand and explore this subject. Question 1: Is it possible to get the response (possibly in JSON format) of a simple GET request using chrome developer…
9
votes
3 answers

Is there a shortcut to toggle "display: none/block" in element's style in Chrome DevTools?

In Chrome DevTools there is a shortcut to show/hide an element: Chrome adds __web-inspector-hide-shortcut__ class to the element, but it is nothing more than visibility: hidden: Is there similar shortcut to change element's display: none/block…
Green
  • 28,742
  • 61
  • 158
  • 247
7
votes
2 answers

cannot add extra spaces ' ' in chrome developer tools while editing

I was trying to add extra spaces ( ) inside a div tag in Elements section in chrome developer tools.
hello  world
The above renders as literal. Expected: hello world Actual: hello  world
Binary Baba
  • 1,953
  • 2
  • 16
  • 23
4
votes
1 answer

How to print the cause for a thrown Error in Chrome console?

Since July 2021 they have added a new error cause property in Javascript, so we are able to do: throw new Error('New error message', { cause: err }); In Firefox this err object is shown after the original error. On Chrome only the original error is…
Gnut
  • 541
  • 1
  • 5
  • 19
3
votes
2 answers

How to write file in Google Chrome App without prompting?

I am fumbling around with the free Chrome Dev Editor on my Chromebook. I am trying to use the fileSystem to read and write .txt files. It is all very wrapped up, not at all like in C. I can no more tell if I am even allowed to do something, let…
3
votes
2 answers

Chrome Dev Editor (CDE) Default Shortcut Key Bindings?

I am having lots of fun playing with the new CDE, BUT, I have not been able to find much documentation on it. Does anyone know the default shortcut key bindings? And secret commands? I understand it is based off of the Ace Editor, but it seems to…
user1541413
  • 307
  • 4
  • 17
2
votes
0 answers

Error running Hello World in main.dart

The following error shows up when i'm trying to run the hello world default code when you create a project in with project type: Dart Chrome App [error] Can't read 'package:chrome/chrome_app.dart' (ChromeService error: Could not resolve reference:…
1
vote
0 answers

XHR request for json content responding with gibberish

I am quite new to API testing and any topics in networking in general. I'm attempting to retrieve BC, Canada school names and rankings from a website. The target data is in the right table, available after a prompt to choose a province (here I…
1
vote
1 answer

Publishing Chrome Extension using Chrome Dev Editor

I am trying to publish a sample chrome extension using the Chrome Dev editor, but once I click on the "Publish To Chrome Web Store" option I get redirected to a Google Login page in Chrome. After logging-in, nothing happens after that. Am I doing…
1
vote
1 answer

Chrome dev editor can't get packages, and can't run the basic app

I have installed a Chrome dev editor tool, created a dart web app, and I unable to run it I get this error when I try to run it image Then I tried to get the packages "Pub Get" and get this error image I installed the dart via brew still the same.
olyar
  • 64
  • 10
1
vote
2 answers

How to use Chrome Dev Tools script in its console?

I've created a simple plugin for Chrome, that provide me some functions, for example, a function to create a new cookie when pressing some keys. When the page loads, I can see that the file was loaded (because if I print something in this plugin,…
1
vote
1 answer

Sample polymer-enabled Chrome App not running

I just installed Chrome Dev Editor and gave it a try with one of the sample templates: New Project >> Project Type = JavaScript Chrome App (using Polymer paper elements) >> Create Right-click >> Refactor for CSP Click on Run (black arrow) A window…
1
vote
2 answers

How to link external CSS stylesheets on a Chromebook

I'm developing a website and I need to use external CSS stylesheets. The only drawback is I'm using a new Chromebook after migrating from Windows. I'm using CDE, so how should I link an external stylesheet to an HTML file? To be more specific, how…
user4052072
1
vote
4 answers

Chrome Dev Editor's Sample Polymer App Displays Blank Window

The polymer app that is generated when "JavaScript Polymer custom element" is selected as the project type in Chrome Dev Editor's "New Project" dialog displays a blank screen when run. Is this a bug or am I doing something wrong? If it is a bug,…
Peter
  • 1,720
  • 3
  • 18
  • 30
1
2