Try Catch Stack overflow (TcSo) Is a collection of Try statements in all the programming languages under the globe which catches the exception and searches for the cause of the caught exception in the stack overflow automatically.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Angular Added demo on stackblitz Oct 28, 2018
AngularJS Added AngularJS tcso May 2, 2016
Applescript added Applescript tcso May 2, 2016
C# update readme May 1, 2016
C++ Updated C++ README Jul 12, 2017
PHP code style Jan 30, 2018
Powershell Fixed Readme credits Mar 9, 2017
VB.NET Added VB.NET Oct 25, 2018
apex Add new language: Apex Oct 20, 2018
clojure update May 2, 2016
coffeescript update May 2, 2016
elixir Add readme Oct 30, 2018
go Update readme.md Oct 24, 2018
groovy added groovy tcso May 5, 2016
haxe added haxe tcso May 5, 2016
java added tcso java May 1, 2016
javascript Update tcso.js Apr 30, 2016
kotlin Added new language (Kotlin) Oct 20, 2018
objective-c added objective c tcso Jan 21, 2017
perl update May 2, 2016
python Update readme.md Jul 12, 2016
ruby update May 2, 2016
rust Add Rust tcso Mar 5, 2018
swift added swift tcso Jan 21, 2017
LICENSE update May 4, 2016
README.md Update README.md Oct 28, 2018
tcso-icon.png update Apr 24, 2016

README.md

Try Catch Stack Overflow Join the chat at https://gitter.im/gautamkrishnar/tcso

Try Catch Stack overflow (TcSo) is a project that is inspired from an online meme on javascript and stack overflow: tsso-meme As you know, most of the developers waste their time by searching for the generated error on Google and finding out the right solution for those from stack overflow. What if we can fully automate this process. TcSo Is a collection of Try statements in all the programming languages under the globe which catches the exception and searches for the cause of the caught exception in the stack overflow automatically. So whenever a new exception occurs, it will automatically open the stack overflow page of that exception in your browser.

Available Languages

TcSo is currently available for the following programming languages:

Contributing

There are hundreds of programming languages out there. The aim of this project is to make the Try catch Stack Overflow available in all the programing languages under the globe. You can contribute to the project by:

Adding a new language

You can make this project available in your favorite programming language. Just follow the steps below:

  1. Fork it!
  2. Make a local clone:
git clone https://github.com/{YOUR_USERNAME}/tcso.git
  1. Switch to the directory: cd tcso
  2. Create a new folder for your language
mkdir your_language
cd your_language
  1. Create your new language branch: git checkout -b language_name
  2. Add your source code try catch stack overflow to the folder.
  • Use external dependencies if and only if there is no other way of doing it natively.
  • The catch block must be able to launch the web browser with the respective stack overflow search page of the error. The browser maybe either Firefox or Google chrome.
  • You can use stack overflow tags for filtering search results based on language see: http://stackoverflow.com/tags. For implementing a JavaScript TcSo you will have to open the page http://stackoverflow.com/search?q=[js]{Your-error-message-here}, Here [js] represents tag. If your language doesn't have a tag then omit the [tag] box. Then point your browser to http://stackoverflow.com/search?q={Your-error-message-here}
  • Use error code or error description to get best result
  • Please try to make platform independent code. If the code is not platform independent then please use the naming convention: tcso_windows.cpp, tcso_linux.cpp
  • Add a readme.md to your language folder. You can use this as a reference.
  • Add changes to git index by using git add --all .
  1. Commit your changes: git commit -am 'Added new language'
  2. Push to the branch: git push
  3. Submit a pull request 😄
Improving the existing TcSo

You can browse the available TcSo and improve its code if needed and dont forget to submit a new pull request.

Not interested in coding?

If you are lazy enough to type something and you still want to see TcSo in your favorite language, then open a new issue here.

Bugs

If you are experiencing any bugs, don’t forget to open a new issue. Please don’t forget to mention the language name.

License

This project is licensed under MIT licence. The source code of the works created from this project need not to be made public.

Liked it?

Hope you liked this project, please don't forget to give it a star ⭐️

Trademark: The Stack overflow name and logos are trademarks of Stack Exchange Inc.