• This repository has been archived on 07/Apr/2023
  • Stars
    star
    168
  • Rank 217,344 (Top 5 %)
  • Language
    CSS
  • License
    Other
  • Created almost 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

JetBrains Guides where Developer Advocacy and the community share ideas.

obsolete project

Obsolete โ€“ The JetBrains Guide has a new home: jetbrains/guide

JetBrains Guide

The JetBrains Guide is a collection of resources for learning JetBrains IDEs. Similar to an "Awesome PyCharm" but richer in content and formatting. The Guide is intended as an open source project.

Technology

  • Content is created as Markdown files.
  • It's rendered to a semi-static site using Gatsby.
  • All is available as open source.

Installation and Running the Guide

There are two types of installation, and they depend on what you want to achieve.

  • Do you want to write content for the Guide? Use the Docker-based approach.
  • Do you want to work on Guide infrastructure? Use the local approach.

Most probably, you want to use the Docker-based approach.

Docker-based approach - For content creators

Want to create content? Awesome! We like content. Here's what you need to get started:

  • Clone this repository
  • Open it with any JetBrains IDE (we tested with WebStorm)
  • Make sure Docker is running, and Docker support is enabled in the IDE
  • Run any of the Docker - * run configurations to launch a specific Guide (top toolbar, see web help for more info)
  • Wait until the container is running and the console shows a URL (similar to http://localhost:8000/)
  • Connect the browser to http://localhost:8000/
  • Start authoring, and see reloads in the browser (after ~6 seconds)

This will build and run a Docker container for the Guide you want to work with, and mount the contents folder of that Guide as a volume inside the container.

For humans: if you launch Docker - IntelliJ Guide, you can work on any content in the sites/intellij/guide/contents directory of this repository.

Local approach - For Gatsby connoisseurs, and content enthusiasts that don't like containers

To set up a local development copy of this project, you will need:

  • NodeJS 18.*
  • Yarn

When those are in place, you will have to:

  • Clone this repository and cd to the directory
  • Run yarn to install dependencies
  • Run yarn run pc:develop (where pc is the Guide you want to run, e.g. dotnet, intellij, and others)
  • Connect the browser to http://localhost:8000/
  • Start authoring, and see reloads in the browser

If you want to try building a new Docker image for content creators, open a terminal in the root of this repository and run:

docker build . -f Dockerfile-ContentCreators -t registry.jetbrains.team/p/evan/guide-containers/guide-content-creators:latest

Once finished, you can run the Docker from configurations to test out things.

Authoring

Let's talk authoring, which is where the value of the Guide gets created.

Working on Tips

  • Go to src/{guide}/contents/tips
  • Make a new directory with an index.md in it
  • Make a card.png screenshot (400x200-ish) to be used in Twitter cards
  • Make a thumbnail.png screenshot (square, preferably small)

The frontmatter lets you point to different filenames for images. In the frontmatter, put your author "label" as author (more on that in a second.) Put zero or more labels for technology and topic. (It's ok to leave those empty.)

For subtitle, keep it Twitter-ish in length. The leadin is a Markdown field which appears beside the short movie, as kind of a teaser.

You can also optionally do a sequence of seealso title/href pairs.

On the topic of shortMovie and longMovie. The shortMovie is intended for Twitter. It's the equivalent of and animated gif. Short, zoomed-in so it could sort-of be read on a phone.

At the time of this writing it is required, but that might change.

The longMovie is completely optional. It is intended to be big, narrated, and tell the story of the body text.

What goes in the body text? A deeper-dive on the tip: the problem it is solving, why you should give a crap, its variations, etc.

Tip:- R Install the PNG Optimizer plugin to make sure your PNG images are optimized in terms of file size. This speeds up (re)build time, and saves precious bandwidth. The plugin hooks into the commit tool window, and automatically runs optimization (when enabled).

Authors

Each Guide resource needs an author, so create a directory in src/{guide}/contents/authors and put an index.md in there.

For the directory name...don't use your personal name. We don't want personally-identifying information in log files, URLs in analytics, etc. As a convention, use your initials.

Put a square-aspect-ratio headshot in the directory to, then point to it from the frontmatter. Don't worry about size...Gatsby creates multiple responsively-sized images automatically.

The frontmatter for author includes something called label. This is a shortname for the author, sort of the category name. Anything that uses this author will use the label, not the filename. It's the key used for the reference. This applies to other category types as well: topic, technology.

Technology

This is a category type used for "software packages that people care about and search for." django is a good example, debugging is a bad one.

Each technology has a directory, and a Markdown file. Have a look at the existing ones to get an idea about how they are created.

Topic

Same as technology, but these are words use as jargon for the IDE. Somewhat like features and systems in our product. If you land on a tip about VCS, you might want to see lots more about VCS.

Playlist

Sometimes you want to group a subset of resources -- usually tips -- into an ordered sequence. You want the collection to have a URL, some explanation, and be tweeted and discoverable on its own.

Think "42 Tips and Tricks".

That's where a playlist comes in. It is a resource -- it has a thumbnail, a writeup, topics/technologies, authors, etc. -- that is a collection of other resources.

That's where the tricky bit comes in. You don't want a tip to appear to be "in" a playlist. Otherwise, Google would think there were three different URLs for a playlist. As you navigate a playlist, you want to stay in the context of a playlist.

To solve this, we keep a query string URL parameter as you navigate the items in the playlist, to let the system know which playlist this should render in. (This info is assembled client-side, as this is an SSG.) That same client-side logic determines previous/next and ToC information.

If you land on a tip without a query string, we do the following:

  • See if the tip is in any playlists, and if so, use the first playlist
  • If not, show the playlist as if standalone

Tutorials

A tutorial is a deep-dive on a topic. Multi-step with code, explanation, screenshots, and possibly videos on each step.

Note: if you are doing a tutorial that has code snippets in JSX or TSX, you can't put it in the tutorial step folder. Gatsby will think that's a page in the site.

Re-building and Deploying

To make a production build, run one of the build scripts, such as yarn run pc:build. This generates output in public/pycharm/guide (which is actually a symlink to the shared, cross-site, parent directory).

Thus, make sure to do a symlink from, for example, sites/pycharm-guide/public to sites/pycharm/guide

The content is proxied at, for example, https://www.jetbrains.com/pycharm/guide/.

Troubleshooting Gatsby

When things go wrong with Gatsby, there are some things to try...

Docker-based approach

Using the Docker approach? Whatever you do, re-run the build configuration and re-create the Docker container. This will solve most, if not all, Gatsby cache issues.

Local approach

Running locally? You will need some background knowledge...

When you run yarn run pc:develop and edit, Gatsby does an incremental rebuild and reloads your browser. It's all very fast and very productive.

Except when it isn't. Due to a bug in how things are marked as outdated, you will sometimes find either an error in a GraphQL query, or something doesn't change on the screen. This is usually caused by the Gatsby cache in the .cache directory, either when authoring or when making a production build.

To address this:

  • Shut down the process you are using to run Gatsby (yarn run ...)
  • Run yarn run pc:clean (where pc is the Guide you want to clean)
  • Re-start your Guide (yarn run ...)

License

The content of this repository are under two licenses. The software is covered by the Apache 2 license and the content is covered by the Creative Common license. See the LICENSE.txt file for the detail.

When non-JetBrains contributor join, they needed to acknowledge consent by adding a comment on the ticket in the repository.

More Repositories

1

kotlin

The Kotlin Programming Language.
Kotlin
45,725
star
2

intellij-community

IntelliJ IDEA Community Edition & IntelliJ Platform
16,452
star
3

compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
Kotlin
14,677
star
4

JetBrainsMono

JetBrains Mono โ€“ the free and open-source typeface for developers
Shell
10,126
star
5

ideavim

IdeaVim โ€“ A Vim engine for JetBrains IDEs
Kotlin
7,980
star
6

Exposed

Kotlin SQL Framework
Kotlin
7,869
star
7

kotlin-native

Kotlin/Native infrastructure
Kotlin
7,048
star
8

ring-ui

A collection of JetBrains Web UI components
TypeScript
3,555
star
9

kotlinconf-app

KotlinConf Schedule Application
Kotlin
2,830
star
10

intellij-platform-plugin-template

Template repository for creating plugins for IntelliJ Platform
Kotlin
2,791
star
11

skija

Java bindings for Skia
Java
2,605
star
12

create-react-kotlin-app

Create React apps using Kotlin with no build configuration
JavaScript
2,477
star
13

projector-docker

Run JetBrains IDEs remotely with Docker
Shell
2,209
star
14

intellij-plugins

Open-source plugins included in the distribution of IntelliJ IDEA Ultimate and other IDEs based on the IntelliJ Platform
Java
2,002
star
15

svg-sprite-loader

Webpack loader for creating SVG sprites.
JavaScript
1,998
star
16

skiko

Kotlin MPP bindings to Skia
C++
1,685
star
17

compose-multiplatform-ios-android-template

Compose Multiplatform iOS+Android Application project template
Kotlin
1,563
star
18

MPS

JetBrains Meta programming System
JetBrains MPS
1,500
star
19

lets-plot

Multiplatform plotting library based on the Grammar of Graphics
Kotlin
1,446
star
20

kotlin-web-site

The Kotlin programming language website
JavaScript
1,413
star
21

intellij-platform-gradle-plugin

Gradle plugin for building plugins for IntelliJ-based IDEs
Kotlin
1,377
star
22

phpstorm-stubs

PHP runtime & extensions header files for PhpStorm
PHP
1,297
star
23

kotlin-wrappers

Kotlin wrappers for popular JavaScript libraries
Kotlin
1,294
star
24

idea-gitignore

.ignore support plugin for IntelliJ IDEA
Kotlin
1,287
star
25

projector-server

Server-side library for running Swing applications remotely
Kotlin
1,230
star
26

resharper-unity

Unity support for both ReSharper and Rider
C#
1,199
star
27

intellij-sdk-docs

IntelliJ SDK Platform Documentation
Markdown
1,181
star
28

xodus

Transactional schema-less embedded database used by JetBrains YouTrack and JetBrains Hub.
Java
1,155
star
29

intellij-scala

Scala plugin for IntelliJ IDEA
Scala
1,137
star
30

kotless

Kotlin Serverless Framework
Kotlin
1,124
star
31

JetBrainsRuntime

Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux
Java
1,118
star
32

intellij-sdk-code-samples

Mirror of the IntelliJ SDK Docs Code Samples
Java
980
star
33

js-graphql-intellij-plugin

GraphQL language support for WebStorm, IntelliJ IDEA and other IDEs based on the IntelliJ Platform.
Java
879
star
34

android

Android Plugin for IntelliJ IDEA. This repository is a subset of https://git.jetbrains.org/?p=idea/android.git cut according to GitHub file size limitations.
Kotlin
863
star
35

projector-client

Common and client-related code for running Swing applications remotely
Kotlin
813
star
36

projector-installer

Install, configure and run JetBrains IDEs with Projector Server on Linux or in WSL
Python
810
star
37

Grammar-Kit

Grammar files support & parser/PSI generation for IntelliJ IDEA
Java
688
star
38

Arend

The Arend Proof Assistant
Java
676
star
39

amper

Amper - a build and project configuration tool with a focus on the user experience and the IDE support
Kotlin
621
star
40

markdown

Markdown parser written in kotlin
Kotlin
617
star
41

jediterm

Pure Java Terminal Emulator. Works with SSH and PTY.
Java
611
star
42

compose-multiplatform-template

Compose Multiplatform Application project template
Kotlin
603
star
43

jewel

An implementation of the IntelliJ look and feels in Compose for Desktop
Kotlin
580
star
44

Nitra

Public Nitra repository
Nemerle
549
star
45

lincheck

Framework for testing concurrent data structures
Kotlin
520
star
46

intellij-micropython

Plugin for MicroPython devices in PyCharm and IntelliJ
Python
482
star
47

kotlin-playground

Self-contained component to embed in websites for running Kotlin code
JavaScript
422
star
48

colorSchemeTool

Python
396
star
49

compose-multiplatform-desktop-template

Compose Multiplatform Desktop Application project template
Kotlin
393
star
50

lets-plot-kotlin

Grammar of Graphics for Kotlin
Kotlin
389
star
51

Qodana

๐Ÿ“ Source repository of Qodana Help
388
star
52

rd

Reactive Distributed communication framework for .NET, Kotlin, C++. Inspired by Rider IDE.
C#
373
star
53

java-annotations

Annotations for JVM-based languages.
Java
362
star
54

phpstorm-attributes

PhpStorm specific attributes
PHP
357
star
55

Unity3dRider

Unity JetBrains Rider integration
348
star
56

godot-support

C#
339
star
57

pty4j

Pty for Java
Java
338
star
58

resharper-fsharp

F# support in JetBrains Rider
F#
320
star
59

phpstorm-workshop

Code for the PhpStorm workshop
PHP
287
star
60

awesome-pycharm

A curated list of resources for learning and using PyCharm, a Python IDE from JetBrains
271
star
61

web-types

JSON standard for documenting web component libraries for IDEs, documentation generators and other tools
TypeScript
270
star
62

meta-runner-power-pack

A set of Meta-runners for TeamCity
PowerShell
256
star
63

inspection-plugin

Gradle plugin to launch IDEA inspections
Kotlin
255
star
64

youtrack-mobile

A iOS and Android client for YouTrack
TypeScript
255
star
65

gradle-changelog-plugin

Plugin for parsing and managing the Changelog in a "keep a changelog" style.
Kotlin
252
star
66

ideolog

Interactive viewer for '.log' files.
Kotlin
250
star
67

qodana-action

โš™๏ธ Scan your Go, Java, Kotlin, PHP, Python, JavaScript, TypeScript, .NET projects at GitHub with Qodana. This repository contains Qodana for Azure, GitHub, CircleCI and Gradle
JavaScript
234
star
68

gradle-idea-ext-plugin

Plugin to store IJ settings in gradle script
Groovy
227
star
69

php-timeline

Notable events of PHP history
222
star
70

resharper-rider-samples

Simple interactive exercises to help learn ReSharper and Rider
C#
221
star
71

la-clojure

Clojure plugin for IntelliJ IDEA
Java
220
star
72

kotlin-compiler-server

Server for executing kotlin code
Kotlin
216
star
73

jdk8u_jdk

Java
210
star
74

jcef

A simple framework for embedding Chromium-based browsers into Java-based applications.
Java
206
star
75

pest-intellij

The official Pest Plugin for PhpStorm / IntelliJ IDEA
Kotlin
195
star
76

youtrack-workflows

YouTrack Custom Workflow Repository
JavaScript
194
star
77

psiviewer

PSI Viewer for IntelliJ IDEA plugin development
Java
175
star
78

svg-mixer

Node.js toolset for generating & transforming SVG images and sprites in modern way
JavaScript
173
star
79

compose-for-web-demos

Historical repository of early Compose for Web effort.
171
star
80

phpstorm-docker-images

Pre-configured Docker images used by PhpStorm team
Dockerfile
170
star
81

rider-efcore

Entity Framework Core UI plugin for JetBrains Rider
Kotlin
169
star
82

kotlin-web-demo

Online mini-IDE for Kotlin
Kotlin
168
star
83

intellij-plugin-verifier

Compatibility verification tool for IntelliJ Platform plugins
Kotlin
165
star
84

intellij-samples

Code that demonstrates various IntelliJ IDEA features
Java
163
star
85

jdk8u_hotspot

C++
159
star
86

resharper-rider-plugin

https://www.jetbrains.com/help/resharper/sdk/
PowerShell
158
star
87

qodana-cli

๐Ÿ”ง JetBrains Qodanaโ€™s official command line tool
Go
154
star
88

teamcity-messages

Python Unit Test Reporting to TeamCity
Python
139
star
89

ruby-type-inference

Dynamic definitions and types provider for ruby static analysis
Kotlin
136
star
90

educational-plugin

Educational plugin to learn and teach programming languages such as Kotlin, Java, Python, JavaScript, and others right inside of JetBrains IntelliJ Platform based IDEs.
Kotlin
134
star
91

resharper-angularjs

ReSharper plugin for AngularJS support
JavaScript
134
star
92

clion-remote

134
star
93

golandtipsandtricks

This is an ever evolving repository for GoLand Tips&Tricks
Go
132
star
94

python-skeletons

The python-skeltons repo is deprecated: use PEP 484 and Typeshed instead
Python
132
star
95

clion-wsl

Shell
130
star
96

phpstorm-phpstan-plugin

PHPStan plugin for PhpStorm
Java
130
star
97

teamcity-docker-samples

TeamCity docker compose samples
Shell
128
star
98

phpstorm-psalm-plugin

Psalm plugin for PhpStorm
Java
126
star
99

jdk8u

Shell
123
star
100

YouTrackSharp

.NET Standard 2.0 Library to access YouTrack API.
C#
123
star