Hacker News new | past | comments | ask | show | jobs | submit login

> It then opens up a new tab instead of an inline dropdown. Apparently that tab isn't normal text, it's clickable text.

If you're talking about the built-in goto-definition then it's definitely not a tab, it's a popup similar to goto-anything and the command palette. You can type to filter, use the arrow keys, press enter, ctrl+enter for side-by-side, etc.

If you want to use the mouse you can hover over the symbol and get a list of definitions and references.

> it contains usages as well as definitions

That sounds like you've got a syntax that isn't classifying its symbols correctly. I vaguely remember Microsoft's Typescript package doing this. All the built-in syntaxes properly classify definitions so you won't have references show up in that list. It's possibly simply removing a package will fix this for you.

> When you click on a result, it opens the file, but doesn't quite scroll to the definition, although it's in view (but not highlighted! So you have to scan for it again!)

Not scrolling to the definition is odd, it's working fine for me. I agree we could highlight the definition better; by default the line is highlighted though. You can enable line highlighting if that's too subtle.

> The little pseudo terminal that pops up at the bottom when you press ctrl+b (build) is also highly annoying. Why does it not accept keyboard input? I keep having to open a separate terminal where I can compile and test my TUI apps. If I just use ctrlB, then my app hangs waiting for stdin that I can never provide. And that waiting process never gets removed by ST either when I press ctrlB again.

We don't currently have a terminal, but the Terminus plugin is fairly popular if that's what you're looking for.

> Furthermore, ST isn't capable of recognizing my various Makefile build commands. ST only shows make clean and make when I press ctrl shift B.

We generally don't integrate that tightly with build systems; doing so effectively requires a plugin per external build system. Though I don't know if you'd actually want to have all targets listed for Make, since virtually everything is a target (and apparently this wasn't possible until --print-targets was added last year).

> Farthestmost, why does ST not recognize when I'm in a different directory, that it should use a different build system? Why do I have to manually tell it to use python instead of C when I am editing a python file?

If you have the build system set to "Automatic", then ST will automatically pick which ones to make available. For Make it'll check for a Makefile for instance. You can then use Build With… to select the one you want to use. If you've manually picked a different build system then that's what ST will use.

> Ok last one. Setting up a "replace occurances within selection" is highly unintuitive. When you enter the search term, that RESETS your selection. And you have to start over. Ugh. I want to select my search area, then tell it what to look for, then tell it what to replace with, then replace all within that area.

The behavior you want it to have sounds like how I remember it being, but that's clearly not the case; I'll have to look into that, thanks.




Thank you for responding. I was wrong about some of these in hind sight.

Today when I tried goto-definition, it worked as expected. I'm not sure why it didn't before. This was for a C project. I do have various Package Control packages installed:

  "Golang Build",
  "Package Control",
  "PackageResourceViewer",
  "SublimeLinter",
  "SublimeLinter-clang",
  "Theme - One",

And you were right, I had set my build process manually. I'm sorry for slandering.

What I meant by "terminal" is the output monitoring pane. Whenever I build "C - single file" or "Python - single file", a pane with <textarea> behavior appears in the bottom, showing the program output. But if said program is interactive, there's no way to send it any input. Nor to stop the program. Building it again leads to a new instance of the program being spawned, but the old one stays running.


It's rare for an app dev (of such a popular tool) to go out of their way to respond to a random forum user. Even rarer is to address every point on their list with patience and consideration.

You must be a remarkable person and I wish you nothing but success.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: