def get_dot_completions(view, prefix, position, info):
	if not get_setting(view, "fw1_enabled") or len(info["dot_context"]) == 0:
		return None

	if extends_fw1(view):
		if info["dot_context"][-1].name == "variables":
			key = ".".join([symbol.name for symbol in reversed(info["dot_context"])])
			if key in fw1["settings"]:
				return CompletionList(fw1["settings"][key], 1, False)
		if info["dot_context"][-1].name in ["renderdata","renderer"]:
			return CompletionList(fw1["methods"]["renderdata"], 1, False)

	if  get_file_type(view) == "controller":
		if len(info["dot_context"]) > 1 and info["dot_context"][-2].name in ["renderdata","renderer"]:
			return CompletionList(fw1["methods"]["renderdata"], 1, False)
		if ["fw","framework"] in info["dot_context"][-1].name:
			return CompletionList(fw1["methods"]["calls"], 1, False)

	return None
dataset/ETHPy150Open jcberquist/sublimetext-cfml/src/fw1/fw1.py/get_dot_completions/swapped operands of `in`