Giter Site home page Giter Site logo

rust-lang / rust-playground Goto Github PK

View Code? Open in Web Editor NEW
1.2K 31.0 200.0 6.39 MB

The Rust Playground

Home Page: https://play.rust-lang.org/

License: Apache License 2.0

Shell 0.68% Ruby 7.65% JavaScript 1.26% Rust 53.07% TypeScript 34.14% Dockerfile 0.77% EJS 0.08% CSS 2.35%
rust rust-playground

rust-playground's People

Contributors

adwinwhite avatar budziq avatar byron avatar c-git avatar camelid avatar carols10cents avatar chandlore avatar chazkiker2 avatar clubby789 avatar cybai avatar dawnofmidnight avatar dependabot[bot] avatar dns2utf8 avatar dtolnay avatar ehuss avatar hkalbasi avatar joekyo avatar jyn514 avatar lqd avatar nemo157 avatar oli-obk avatar ralfjung avatar riateche avatar rw avatar schuelermine avatar shepmaster avatar snnsnn avatar tgross35 avatar weihanglo avatar wfchandler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rust-playground's Issues

Error help link not shown for some errors

   Compiling playground v0.0.1 (file:///playground)
error: can't find crate for `iron` [E0463]
 --> src/main.rs:2:5
2 |>     extern crate iron;
  |>     ^^^^^^^^^^^^^^^^^^

error: aborting due to previous error
error: Could not compile `playground`.

Doesn't have the --explain.

serde_derive

Not sure if it's against the protocol, but I'd vouch for serde_derive to be added to the top crates.
I wanted to add a modern playground example to http://stackoverflow.com/a/37565736/257568 but it turns out there's no serde_derive there yet.

I mean, Serde is certainly in the top crates, but we'd want to promote the newer serde_derive version of the automation instead of the older serde_macros, right?

UI broken in Safari, can't see output

The output is not visible in Safari (its height is 5px or something). If I change a random CSS property of .output, it seems to recalculate the height and corrects the layout.

I'm using Safari Technology Preview version 9.1.2 (11601.7.4, 11602.1.37).

fsevents dependency not available on linux

When running npm install in ui/frontend i get the following error:

npm ERR! notsup Unsupported

npm ERR! notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

As mentioned in the github repos of fsevents fsevents/fsevents#134, fsevents is OSX only. I'm not sure how to proceed :)

Add "tabbed" output modes

The current display of a bunch of content separated by hrs is... less than optimal. I'm thinking something like

image

Add an about / help page

  • Features
    • tests
    • crates
    • clippy (link)
    • rustfmt (link)
  • Link to this repo
  • list of crates (ajax & parse toml?)

Font Size

I administered a poll of 1 with 100% consensus (excluding me), so therefore have confirmed that it might be worth making the fontsize 14pt instead of 12pt in the editor. Here are the differences for me:

screenshot_20160822_155852

screenshot_20160822_155944

I might just be getting old though.

I have to scroll too much

What happened

I ran some code that I was interested to see either the output or the compilation errors for. After I clicked Run, I had to scroll to see most of the output that I was interested in.

What I expected to happen

On the official playground, I can see a lot more of the output without having to scroll. I am le tired.

Example on this playground:

screen shot 2016-06-29 at 7 16 41 pm

Example on the official playground:

screen shot 2016-06-29 at 7 17 00 pm

copy and paste does not work

It seems like it is not possible to copy and/or paste text, neither via keyboard shortcuts or the context menu. (Firefox 50.1.0, Ubuntu)

Cannot read property '_handle' of undefined in production

vendor-f875c97….js:58 Uncaught TypeError: Cannot read property '_handle' of undefined
    at http://play.integer32.com/vendor-f875c976a9dab3b0e5f5.js:58:1525
    at Array.forEach (native)
    at e.exports (http://play.integer32.com/vendor-f875c976a9dab3b0e5f5.js:58:1504)
    at Object.<anonymous> (http://play.integer32.com/vendor-f875c976a9dab3b0e5f5.js:16:6124)
    at Object.<anonymous> (http://play.integer32.com/vendor-f875c976a9dab3b0e5f5.js:16:10942)
    at t (http://play.integer32.com/manifest-842991282bc80cd97f47.js:1:107)
    at Object.<anonymous> (http://play.integer32.com/vendor-f875c976a9dab3b0e5f5.js:27:22411)
    at Object.<anonymous> (http://play.integer32.com/vendor-f875c976a9dab3b0e5f5.js:27:24195)
    at t (http://play.integer32.com/manifest-842991282bc80cd97f47.js:1:107)
    at Object.<anonymous> (http://play.integer32.com/vendor-f875c976a9dab3b0e5f5.js:27:27240)
(anonymous) @ vendor-f875c97….js:58
e.exports @ vendor-f875c97….js:58
(anonymous) @ vendor-f875c97….js:16
(anonymous) @ vendor-f875c97….js:16
t @ manifest-8429912….js:1
(anonymous) @ vendor-f875c97….js:27
(anonymous) @ vendor-f875c97….js:27
t @ manifest-8429912….js:1
(anonymous) @ vendor-f875c97….js:27
(anonymous) @ vendor-f875c97….js:27
t @ manifest-8429912….js:1
(anonymous) @ vendor-f875c97….js:1
t @ manifest-8429912….js:1
window.webpackJsonp @ manifest-8429912….js:1
(anonymous) @ vendor-f875c97….js:1

Line number column is not fixed-width

A concern by a user mentioned that it bothered them that the line number column is not fixed width. You can see this by opening a blank editor, and hitting enter. You will notice that the width of the line number column increases going from line 9 -> line 10, and from line 99 -> line 100.

Dockerize everything

It would be nice if the whole playground would be encapsulated into a docker image. If that image was published on dockerhub, installation would boild down to a single docker run command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.