Sublime Forum

Forum request thread

#9

See previous example is broken here is original file https://dl.dropboxusercontent.com/u/9303546/SublimeText/bugs/SpacesToTabs.py

this markdown thing, I hate it. Stop breaking the web, give users preferences, your ideas are crap.

0 Likes

#10
```python
my python codes here
1 Like

#11
import re, sublime, sublime_plugin

class SpaceToTabsListener(sublime_plugin.EventListener):
	def on_post_text_command(self, view, command_name, args):
		if command_name == 'insert' and args['characters'] == '\n' and not view.settings().get('translate_tabs_to_spaces'):
			view.run_command('unexpand_tabs', {"set_translate_tabs":True})
			view.run_command('space_to_tabs')

class SpaceToTabsCommand(sublime_plugin.TextCommand):
	def run(self, edit):
		view = self.view
		for region in reversed(view.sel()):
			indentation = sublime.Region(view.line(region).begin(), region.end())
			content = view.substr(indentation)
			if re.search('^\t+ +', content):
				view.replace(edit, indentation, re.sub('^(\t+)( +)', '\\1\t', content))
0 Likes

#12

Same problem :rage:

0 Likes

#13
0 Likes

#15

When you attempt to create a new topic, Discourse automatically prompts you with related topics in order to redirect you to them. This is the best way of trying to prevent duplicates that I have seen so far. All users must have deliberately ignored this popup. (Or the search results are bad.)

@tito: Never had any problems with it, but it seems you encountered a bug.
Except for the fact that all your code using tabs is rendered with a tab-width of 8 because that’s what browsers default to. pls don’t use tabs

Edit: This post was a reply to a now-deleted post.

0 Likes

#16

One issue…ish is that old release announcements are still closed. I guess they should be closed as soon as a new release announcement is posted. Reasoning:

  • if you have an older version of sublime, the issue might be fixed in a newer version; the main approach would be: „please update to the latest version and let us know if your problem persist”
  • if you have a real issue with sublime, then it’s likely to also be present on latest build, so it should be posted there.
0 Likes

#17

Please add the “Solved” Discourse plugin.

Also, please split off tito’s posts regarding tabs and whatnot into a different topic so that we can have a thread like the API suggestions thread with on-topic suggestions and users being able to like/vote on posts.

2 Likes

#18
1 Like

#19

I revive this thread to sugges another plugin: push notification.

And do update the forum to the latest version and enable tags :slightly_smiling:

2 Likes

#20

push notifications already work on this forum…

0 Likes

#21

Nope, those are desktop notification, which requires to have forum opened in a tab.

Push notifications are a different beast, which requires nothing opened. Just works (also on mobile) :slightly_smiling:

0 Likes

#22

oh I see - sorry! :slight_smile: thanks for educating me on the difference :slight_smile:

1 Like

#23

The forum has been updated and I added the Solved plugin

5 Likes

#24

how does the Solved plugin work?
are we on the latest stable discourse version now?

0 Likes

#25

I don’t think it is enabled :/. I found this talking about the Discourse solved plugin: https://meta.discourse.org/t/discourse-solved-accepted-answer-plugin/30155.

1 Like

#26

Solved button is visible only to post authors and only if is enabled on a per category basis (or global).

Right now it seems that is enabled only for #technical-support category.

Was the last version until 7 minutes ago :smiley:

2 Likes

#27

If I go to create a new thread in #technical-support, I don’t see an option to enable solve/unsolved. Does it ask you on submit?

0 Likes

#28

there will be a tick box next to replies to your post in #technical-support which you can use to mark the reply as solving your problem

1 Like

#29

Thanks @kingkeith! I had to search for one of my old posts on #technical-support to see it.

0 Likes