def find_in_ref(view):
    arduino_info = st_base.get_arduino_info()
    ide_dir = arduino_info.get_ide_dir()
    id_keyword_dict = ide_dir.get_id_keyword_dict()

    ref_list = []
    selected_text = get_selected_text_from_view(view)
    words = get_word_list_from_text(selected_text)
    for word in words:
        if word in id_keyword_dict:
            keyword = id_keyword_dict.get(word)
            ref = keyword.get_ref()
            if ref and not ref in ref_list:
                ref_list.append(ref)
    for ref in ref_list:
        url = get_url(ref)
        sublime.run_command('open_url', {'url': url})
dataset/ETHPy150Open Robot-Will/Stino/stino/main.py/find_in_ref/original