Skip to content

Latest commit

 

History

History
79 lines (57 loc) · 2.33 KB

README.md

File metadata and controls

79 lines (57 loc) · 2.33 KB

Stack-Overlang

Stack-Overlang is a minimalistic stack-overflow driven development based IDE, written in Scala.

⭐ Features

  • Searching questions and answers directly from IDE
  • Adding answers by answer id
  • Editing in any code editor
  • Running directly from IDE

🔨 Building

Just clone this repository and import sbt project. All dependencies will be 🎉 automagically 🎉 downloaded.

You must create Passwords object in overlang.stackOverflowBackend package. You can obtain API key here: https://api.stackexchange.com/

package overlang.stackOverflowBackend

object Passwords {
  final val StackOverflowApiKey = "YOUR_API_KEY"
  final val StackOverflowApiSecret = "YOUR_API_SECRET"
}

⚠️ Beware that you should test this app in external terminal. Build-in IDE terminals may not work (e.g. Intellij terminal)

🚀 Launching

If you want to create new temporary file use: java -jar stack-overlang.jar

If you want to open existing file use: java -jar stack-overlang.jar file

👉 Mini-tutorial

  • You can write commands in main window (the window, you see when launching app)
  • You can go to previous window by clicking ESC
  • You can select questions/answers by arrows and clicking ENTER
  • Questions are marked with [Q] symbol and answers with [A] symbol

📢 Commands

Inside application you can use various commands:

add <answer_id> - adds answer by id

search <question> - searches questions and answers

runwith <program> - runs with selected program

saveas <filename> - saves actual file

edit - launches actual file in vi text editor

editwith <program> - launches actual file in selected text editor

exit - exits stack-overlang

📋 Examples

  • FizzBuzz in Python
  • Script to delete all files with selected extensions in Python
  • Solving Quadratic equation in Python