Comments (11)
This is 14 lines and should demonstrate the color schemes. How would multi-select look?
import os
"""A string"""
# A comment
class Foo(object):
def __init__(self):
bar = 42
print(bar)
@property
def color(self):
return 'Green'
from web.
Languages I'd like to see this project support:
- Go
- Rust
- Swift
from web.
Python will definitely be one of the next languages. Do you have any suggestions for the snippet to display in the preview? It would ideally by the same number of lines as the current preview (14).
I'm also thinking something similar for the drop-down. Maybe even a multi-select.
from web.
The new site now supports 4 more languages: Python, Go, Java and C++.
Thanks @hectormz for the Python example, I ended up using it!
I've opened separate requests for C#, Rust, Swift and Kotlin.
from web.
I'd like to see Python. Maybe create a drop-down list of languages at the top of the site, and remove the tabs of languages that are included in each demo (at least for the dashboard showing all the themes).
from web.
This is great, thanks for doing that.
With a multi-select you could pick up to 3 languages to replace the current tabs. Still very much in the idea phaseβopen to suggestions!
Look-wise, a dropdown (or modal) with something like:
- CSS
- HTML
- Javascript
- Python
- ...
[DONE]
from web.
That would be nice, the list wouldn't get too long because you're limiting the breadth of languages as you mention in the first comment?
from web.
Yeah, there is a finite number of languages I can support. The languages that are added will be based on demand and help from the community. After adding a few more I'll have a more defined process for adding one that should make it easier for others to contribute.
from web.
I would suggest C# as well π
from web.
Would love to see Javascript include JSX syntax within it, or a seperate JSX/React option.
from web.
Java and Kotlin as well, please. Below are example snippets for FizzBuzz.
public class FizzBuzz {
public static void main(String[] args) {
int num = 100;
for (int i = 1; i <= num; i++) {
if (((i % 5) == 0) && ((i % 7) == 0))
System.out.println("fizzbuzz");
else if ((i % 5) == 0)
System.out.println("fizz");
else if ((i % 7) == 0)
System.out.println("buzz");
else
System.out.println(i);
}
}
}
fun fizzBuzz(num: Int): String {
return when {
(num % 3 == 0) -> "Fizz"
(num % 5 == 0) -> "Buzz"
(num % 3 == 0 && num % 5 == 0) -> "FizzBuzz"
else -> "$num"
}
}
from web.
Related Issues (20)
- License? HOT 1
- Publish @vscodethemes/utilities package HOT 4
- Server error after turning on a filter HOT 2
- Site error when trying to search for a theme HOT 1
- PHP HOT 2
- Theme selection wizard HOT 1
- Arrow Key Navigation HOT 5
- Search doesn't pass titleBarActiveBackground to private API HOT 2
- Non-flat HOT 1
- VSCodium support HOT 7
- What font is used in the renders on the website? HOT 1
- Dark mode scrollbars HOT 2
- add Palenight High Contrast theme HOT 1
- Search bar disappear on mobile view HOT 1
- Compare themes on custom code snippet HOT 1
- How to get previews for a theme? HOT 2
- How to generate images preview theme HOT 1
- Sample code is invalid HOT 2
- Support of Visual Studio Code - Insiders HOT 3
- Some api seems to be down HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web.